Translation of "a function in JavaScript" in French
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
une fonction en JavaScript
une fonction dans Javascript
All this is done by declaring an object - thus a function in JavaScript - differently with a closure, in other words returning a function instead of a value.
Tout cela se fait en déclarant un objet - donc au départ une fonction en JavaScript - différemment avec une clôture, autrement dit en retournant une fonction au lieu d'une valeur.
Even if we could tell a class from a function in JavaScript, this still wouldn't work for classes processed by tools like Babel.
Même si on pourrait distinguer une classe d'une fonction en JavaScript, ça ne nous aiderait pas pour les classes transformées par des outils tels que Babel.
Because there are multiple ways to declare a function in JavaScript, and comments let you keep a track of the functions.
Parce qu'il y a plusieurs façons de déclarer une fonction dans Javascript, et que les commentaires vous laissent garder une trace des fonctions.
This is exactly what sum did, so it can be made shorter by using reduce... except that addition is an operator and not a function in JavaScript, so we first had to put it into a function.
C'est exactement ce que fait la fonction somme, donc elle peut être raccourcie par l'utilisation de reduce... sauf que l'addition est un opérateur et non une fonction dans JavaScript, donc on doit d'abord la mettre dans une fonction.
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.