When using the constructor function, the normal string escape rules (preceding special characters with \ when included in a string) are necessary. For example, the following are equivalent
생성자 함수를 사용할 경우 일반 문자열 이스케이프 규칙(문자열에 포함될 때 \와 함께 선행 특수 문자)이 필요합니다. 예를 들어 다음 항목은 동일합니다.
This constructor function defines a Shape class that you can instantiate with the new operator, as follows
이 생성자 함수는 다음과 같이 new 연산자로 인스턴스화할 수 있는 Shape 클래스를 정의합니다.
In addition to the properties of an individual regular expression object that you create using the RegExp constructor function, the predefined RegExp object has static properties that are set whenever any regular expression is used. Regular expression is a core object.
RegExp 생성자 함수를 사용하여 사용자가 생성한 개별 정규식 객체의 등록 정보 이외에 사전 정의된 RegExp 객체에는 모든 정규식이 사용될 때마다 설정되는 정적 등록 정보가 있습니다. 정규식은 핵심 객체입니다.
For example, the following code defines a Circle class and implements a constructor function
예를 들어, 다음 코드에서는 Circle 클래스를 정의하고 생성자 함수를 구현합니다.
Just as the Shape() constructor function object serves as the prototype for instances of the Shape class, it can also serve as the prototype for subclasses of Shape-that is, other classes that extend the Shape class.
Shape() 생성자 함수는 Shape 클래스 인스턴스의 프로토타입 역할을 할 뿐만 아니라 Shape의 하위 클래스(Shape 클래스를 확장하는 다른 클래스)의 프로토타입 역할도 합니다.
To create a class in ActionScript 1.0, you define a constructor function for that class.
ActionScript 1.0에서 클래스를 만들려면 해당 클래스의 생성자 함수를 정의해야 합니다.
The constructor function that you create serves as the prototypical object for instances of that class.
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 "constructor function" in English