If you already go for the object initializer when defining a prototype you will probably most of the time choose the first form.
Als u gaat voor de objectinitiator wanneer u een prototype definieert, zal u waarschijnlijk meestal de eerste vorm kiezen.
In addition to creating objects using a constructor function, you can create objects using an object initializer.
Naast het maken van objecten die een constructorfunctie gebruiken, kunt u objecten maken met behulp van een objectinitiator.
Object initializers are expressions, and each object initializer results in a new object being created whenever the statement in which it appears is executed.
Objectinitialisatoren zijn expressies, en elke objectinitialiser resulteert in een nieuw object dat wordt gemaakt, wanneer de statement waarin het verschijnt is uitgevoerd.
An anonymous type is initialized using the new operator, in combination with an object initializer - in that regard, it's very much like instantiating a class, only you leave out the class name.
Een anonymous type wordt geïnitialiseerd met de new operator in combinatie met een object zover lijkt het erg op het instantiëren van een klasse maar de naam van de klasse wordt weggelaten.
"Object initializer" is consistent with the terminology used by C++.
"Object initializer" is consistent met de terminologie die door C ++ wordt gebruikt.
In JavaScript 1.2 and later, you can create an object using an object initializer.
U kunt een object maken met een objectinitiator.
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 "object initializer" in English