Changing the constructor of a function Mostly this property is used for defining a function as a function-constructor with further calling it with new and prototype-inherits chain.
Somewhat similar to a function, a data constructor is applied to arguments of an appropriate type, yielding an instance of the data type to which the type constructor belongs.
De manière similaire à une fonction, un constructeur est appliqué aux arguments du type approprié, donnant une instance du type de données auquel le constructeur appartient.
When a contract is created, its constructor (a function declared with the constructor keyword) is executed once.
Quand un contrat est créé, son constructeur (une fonction déclarée via le mot-clé constructor) est exécuté, de manière unique.
There is a Function() constructor with at least two arguments passed in the code.
Notice that the Student class has a constructor function, which is executed when the object is created.
Remarquez que la classe Student a une fonction constructeur, qui est exécutée quand l'objet est créé.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.