We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
AsyncFunction
GeneratorFunction
Le constructeur GeneratorFunction permet de créer un nouvel objet qui est une fonction génératrice.
The AsyncFunction constructor creates a new async function object.
Note : Les générateurs créés avec le constructeur GeneratorFunction ne créent pas de fermetures avec leurs contextes de sont toujours créés dans la portée globale.
Note: async functions created with the AsyncFunction constructor do not create closures to their creation contexts; they are always created in the global scope.
Description Les fonctions génératrices créées avec le constructeur GeneratorFunction sont analysés lorsque la fonction est crée.
async function objects created with the AsyncFunction constructor are parsed when the function is created.
Le constructeur GeneratorFunction permet de créer un nouvel objet qui est une fonction génératrice.
The GeneratorFunction constructor creates a new generator function object.
L'objet GeneratorFunction n'est pas un objet global.
La propriété de longueur du constructeur GeneratorFunction qui vaut 1.
The GeneratorFunction constructor's length property whose value is 1.
Lorsqu'ils sont exécutés, ils n'ont accès qu'à leurs variables locales et aux variables globales et ils n'ont pas accès aux variables de la portée où a eu lieu l'appel à GeneratorFunction.
When running them, they will only be able to access their own local variables and global ones, not the ones from the scope in which the GeneratorFunction constructor was called.
La valeur initiale correspond à GeneratorFunction.
Note : Le constructeur GeneratorFunction ne doit pas être utilisé pour créer des fonctions. En effet, il utilise une chaîne pour former le corps de la fonction et cela peut empêcher certaines optimisations du moteur JavaScript ainsi que provoquer d'autres problèmes.
Note: Using the GeneratorFunction constructor to create functions is not recommended since it needs the function body as a string which may prevent some JS engine optimizations and can also cause other problems.
GeneratorFunction Le protocole itérateur Cet article vous a-t-il été utile ?
GeneratorFunction The Iterator protocol Was this article helpful?
prototype: La propriété GeneratorFunction.prototype représente le prototype de l'objet GeneratorFunction.
prototype: The InternalError.prototype property represents the prototype of the InternalError constructor.
Les instances de GeneratorFunction héritent des méthodes et propriétés de GeneratorFunction.prototype.
AsyncFunction instances AsyncFunction instances inherit methods and properties from AsyncFunction.prototype.
Note : GeneratorFunction n'est pas un objet global mais pourrait être obtenu à partir de l'instance de la fonction génératrice (voir la page GeneratorFunction pour plus de détails).
Note: GeneratorFunction is not a global object, but could be obtained from generator function instance (see GeneratorFunction for more detail).
Potentially sensitive or inappropriate content
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.
No results found for this meaning.
Synonyms and analogies of "GeneratorFunction" in French