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.
Function
GeneratorFunction
As with all constructors, you can change the constructor's prototype object to make changes to all GeneratorFunction instances. Examples
Comme pour les autres constructeurs, il est possible de modifier le prototype du constructeur afin d'apporter des modifications à toutes les instances de Function.
generator function objects created with the GeneratorFunction constructor are parsed when the function is created.
Les objets Function créés avec le constructeur Function sont analysés quand la fonction est créée.
The GeneratorFunction constructor creates a new generator function object.
Le constructeur AsyncFunction crée un nouvel objet pour une fonction asynchrone.
The GeneratorFunction constructor creates a new generator function object.
Le constructeur GeneratorFunction permet de créer un nouvel objet qui est une fonction génératrice.
Note that GeneratorFunction is not a global object.
The GeneratorFunction constructor's length property whose value is 1.
La propriété de longueur du constructeur GeneratorFunction qui vaut 1.
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.
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.
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.
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.
GeneratorFunction The Iterator protocol Was this article helpful?
GeneratorFunction Le protocole itérateur Cet article vous a-t-il été utile ?
Note: GeneratorFunction is not a global object, but could be obtained from generator function instance (see GeneratorFunction for more detail).
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).
GeneratorFunction instances GeneratorFunction instances inherit methods and properties from GeneratorFunction.prototype.
Les instances d'AsyncFunction héritent des méthodes et des propriétés de AsyncFunction.prototype.
GeneratorFunction instances GeneratorFunction instances inherit methods and properties from GeneratorFunction.prototype.
Les instances de Function héritent des méthodes et propriétés de Function.prototype.
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.