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.prototype
Pour les fonctions, cette valeur est Function.prototype.
Il est possible d'ajouter une propriété partagée par tous les objets d'un type déjà défini auparavant en utilisant sa propriété Function.prototype.
You can add a shared property to a previously defined object type by using the Function.prototype property.
Lorsque le mot-clé this est utilisé dans le corps d'une fonction, il est possible d'utiliser les méthodes call() ou apply() pour lier this à un objet donné. Toutes les fonctions héritent de ces méthodes grâce à Function.prototype.
Where a function uses the this keyword in its body, its value can be bound to a particular object in the call using the call or apply methods which all functions inherit from Function.prototype.
Troisième exemple : Ajouter une chaîne de prototypes à l'objet Function.prototype object et ajouter une nouvelle fonction à cette chaîne
Third example: Appending a chain to the Function.prototype object and appending a new function to that chain
Les instances de Function héritent des méthodes et propriétés de Function.prototype.
Function instances Function instances inherit methods and properties from Function.prototype.
L'objet global Function ne possède pas de méthodes ou de propriétés propres. Cependant, il est lui-même une fonction et hérite de certaines méthodes et propriétés depuis Function.prototype grâce à la chaîne de prototype.
The global Function object has no methods or properties of its own, however, since it is a function itself it does inherit some methods and properties through the prototype chain from Function.prototype.
prototype: La propriété Error.prototype: La propriété Function.prototype représente le prototype de l'objet Function.
prototype: The EvalError.prototype property represents the prototype of the EvalError constructor.
Les instances de Function héritent des méthodes et propriétés de Function.prototype.
GeneratorFunction instances GeneratorFunction instances inherit methods and properties from GeneratorFunction.prototype.
Andere resultaten
Dans l'expression "object instanceof AFunction", on compare la chaîne de prototypes d'object avec AFunction.prototype et non avec AFunction.
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.