Return several values from a JavaScript function
JS functions can only return one value at once. But there is a way to use the return statement to return multiple values. Learn the trick....
Read more →A collection of 3 posts
JS functions can only return one value at once. But there is a way to use the return statement to return multiple values. Learn the trick....
Read more →Les fonctions JavaScript ne peuvent normalement retourner qu’une valeur à la fois. Pourtant il existe une façon simple d’utiliser l’instruction return pour qu’une fonction retourne plusieurs valeurs en même temps. Comment ?...
Read more →Le TypeScript se répand de plus en plus dans l'univers du web. Certain gros framework comme Angular se mettent même à en faire la promotion. Qu'est ce que c'est au juste que le TypeScript ? Il s'agit d'une implémentation du standard EcmaScript au même titre que JavaScript, que CoffeScript et autres....
Read more →By clicking "Allow all", you agree to the storing of cookies on you device to enhance site navigation, analyse site usage, and assist in our marketing effort.