Objects are created by invoking special constructor functions.
对象是通过调用特殊的构造函数创建的。
Explains how to use constructor functions to create objects with properties and methods.
解释如何使用构造函数创建具有属性和方法的对象。
Constructor functions which must be used with the new prefix should start with a capital letter.
必须与new共同使用的构造函数名应以大写字母开头。
Wrap one of the comparands in number , Boolean , string , or one of the new type-constructor functions.
将一个操作数包装到number 、boolean 、string或者其他新增的类型构造器函数中。
Constructor functions (also called constructors) provide the ability to design and implement your own prototype-based objects.
构造函数提供了一种能力,使用户能设计和实现自己的基于原型的对象。
The primary constructor, which is the body of the entire class, has a parameter list that takes a label string and a list of callback functions.
主构造函数,类的主题,有一个参数列表来接受标签字符串和回调函数的列表。
Its implementation consists of three functions: a constructor, a method that dynamically creates a script tag and thereby runs the Yahoo!
该对象包括三个函数:构造器、动态创建脚本标记从而运行Yahoo !
To create your constructor and destructor, declare two functions, then apply the constructor and destructor function attributes to them.
要创建constructor和destructor函数,则需要声明两个函数,然后对这两个函数应用constructor和destructor函数属性。
A constructor is a special member function that is distinguished from other member functions by having the same name as its class.
构造函数是特殊的成员函数,与其他成员函数不同,构造函数和类同名,而且没有返回类型。
A constructor is a special member function that is distinguished from other member functions by having the same name as its class.
构造函数是特殊的成员函数,与其他成员函数不同,构造函数和类同名,而且没有返回类型。
应用推荐