We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
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).
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.