Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitca71255

Browse files
koDaegonJuYeong0413
authored andcommitted
Update translation for 1-js/08-prototype/03-native-prototypes
Update solution.mdUpdate task.mdUpdate solution.mdUpdate task.mdUpdate 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/task.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/task.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/article.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/task.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/task.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/task.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/solution.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/solution.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/solution.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/solution.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>Update 1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/solution.mdCo-Authored-By: Ju Yeong <2jy22@naver.com>
1 parentea804f8 commitca71255

File tree

5 files changed

+79
-77
lines changed

5 files changed

+79
-77
lines changed

‎1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ function f() {
99
alert("Hello!");
1010
}
1111

12-
f.defer(1000);//shows"Hello!"after 1 sec
12+
f.defer(1000);//1초 후"Hello!"출력
1313
```

‎1-js/08-prototypes/03-native-prototypes/1-defer-to-prototype/task.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@ importance: 5
22

33
---
44

5-
#Add method"f.defer(ms)" to functions
5+
#메서드"f.defer(ms)"를 함수에 추가하기
66

7-
Add to the prototype of all functions the method`defer(ms)`, that runs the function after`ms` milliseconds.
7+
모든 함수의 프로토타입에`ms`밀리초 후에 함수를 실행하는`defer(ms)`함수를 추가하세요.
88

9-
After you do it, such code should work:
9+
함수를 프로토타입에 추가한 이후 아래 코드는 동작해야 합니다.
1010

1111
```js
1212
functionf() {
1313
alert("Hello!");
1414
}
1515

16-
f.defer(1000);//shows"Hello!"after 1 second
16+
f.defer(1000);//1초 후"Hello!"출력
1717
```
18+
19+
인수들은 기존 함수에 전달되는 것을 알아두세요.

‎1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/solution.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ Function.prototype.defer = function(ms) {
88
}
99
};
1010

11-
//check it
11+
//확인해 보세요.
1212
functionf(a,b) {
1313
alert( a+ b );
1414
}
1515

16-
f.defer(1000)(1,2);//shows 3 after 1 sec
16+
f.defer(1000)(1,2);//1초 후 3 출력
1717
```
1818

19-
Please note: we use`this` in`f.apply` to make our decoration work for object methods.
19+
객체 메서드에 대한 데코레이션 동작을 만들기 위해서`this``f.apply`안에서 사용하는 것을 알아두세요.
2020

21-
So if the wrapper function is called as an object method, then`this` is passed to the original method`f`.
21+
그래서 래퍼 함수가 객체 메서드로써 호출된다면`this`는 기존 메서드`f`에 전달됩니다.
2222

2323
```js run
2424
Function.prototype.defer=function(ms) {

‎1-js/08-prototypes/03-native-prototypes/2-defer-to-prototype-extended/task.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ importance: 4
22

33
---
44

5-
#Add the decorating"defer()" to functions
5+
#데코레이팅"defer()"를 함수에 추가하기
66

7-
Add to the prototype of all functions the method`defer(ms)`, that returns a wrapper, delaying the call by`ms` milliseconds.
7+
모든 함수의 프로토타입에`ms` 밀리세컨초 지연 호출 래퍼를 반환하는`defer(ms)` 메서드를 추가하세요.
88

9-
Here's an example of how it should work:
9+
아래는 동작예시 입니다.
1010

1111
```js
1212
functionf(a,b) {
1313
alert( a+ b );
1414
}
1515

16-
f.defer(1000)(1,2);//shows 3 after 1 second
16+
f.defer(1000)(1,2);//1초 후 3을 출력
1717
```
1818

19-
Please note that the arguments should be passed to the original function.
19+
인수들은 기존 함수에 전달되는 것을 알아두세요.
Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
#Native prototypes
1+
#네이티브 프로토타입
22

3-
The`"prototype"` property is widely used by the core of JavaScript itself. All built-in constructor functions use it.
3+
`prototype` 프로퍼티는 자바스크립트 내에서 널리 이용됩니다. 모든 내장 생성자 함수에서 사용됩니다.
44

5-
First we'll see at the details, and then how to use it for adding new capabilities to built-in objects.
5+
첫 번째로 자세히 살펴본 다음 어떻게 내장 객체에 새 기능을 추가하여 프로토타입 프로퍼티를 사용하는지 알아보겠습니다.
66

77
##Object.prototype
88

9-
Let's say we output an empty object:
9+
빈 객체를 표현한다고 생각해 봅시다.
1010

1111
```js run
1212
let obj= {};
1313
alert( obj );// "[object Object]" ?
1414
```
1515

16-
Where's the code that generates the string`"[object Object]"`? That's a built-in`toString`method, but where is it? The`obj` is empty!
16+
`"[object Object]"` 문자열을 생성하는 코드는 어디에 있나요? 이는 내장`toString`메서드 입니다. 하지만 어디에 있을까요?`obj`는 비어 있습니다!
1717

18-
...But the short notation`obj = {}` is the same as`obj = new Object()`, where`Object` is a built-in object constructor function, with its own`prototype` referencing a huge object with`toString` and other methods.
18+
`obj = {}`의 줄임법은`obj = new Object()`와 같습니다. 여기서`Object`는 큰 객체에`toString`메서드와 다른 메서드으로 큰 객체를 참조하는 자체 프로토타입을 가진 내장 객체 생성자 함수입니다.
1919

20-
Here's what's going on:
20+
어떤 일이 벌어지는지 보겠습니다.
2121

2222
![](object-prototype.svg)
2323

24-
When`new Object()` is called (or a literal object`{...}` is created), the`[[Prototype]]` of it is set to`Object.prototype` according to the rule that we discussed in the previous chapter:
24+
`new Object()`를 호출하거나 실제 객체`{...}`가 생성되었다고 할 때 객체의`[Prototype]`은 이전 챕터에서 얘기한 룰에 따라서`Object.prototype`으로 설정됩니다.
2525

2626
![](object-prototype-1.svg)
2727

28-
So then when`obj.toString()` is called the method is taken from`Object.prototype`.
28+
따라서`obj.toString()`이 호출될 때 메서드는`Object.prototype`으로부터 가져옵니다.
2929

30-
We can check it like this:
30+
예제를 확인해 봅시다.
3131

3232
```js run
3333
let obj= {};
@@ -36,57 +36,57 @@ alert(obj.__proto__ === Object.prototype); // true
3636
// obj.toString === obj.__proto__.toString == Object.prototype.toString
3737
```
3838

39-
Please note that there is no more`[[Prototype]]` in the chain above`Object.prototype`:
39+
`Object.prototype`위의 체인에는 더 이상`[[Prototype]]`이 없는 점을 알아두세요.
4040

4141
```js run
4242
alert(Object.prototype.__proto__);// null
4343
```
4444

45-
##Other built-in prototypes
45+
##다른 내장 프로토타입
4646

47-
Other built-in objects such as`Array`,`Date`,`Function` and others also keep methods in prototypes.
47+
`Array`,`Date`,`Function`을 포함한 다른 내장 객체들 또한 메서드를 프로토타입 안에 유지합니다.
4848

49-
For instance, when we create an array`[1, 2, 3]`, the default`new Array()`constructor is used internally. So`Array.prototype` becomes its prototype and provides methods. That's very memory-efficient.
49+
예를 들면 배열`[1, 2, 3]` 을 생성할 때 기본`new Array()`생성자는 내부적으로 사용됩니다. 그래서`Array.prototype`이 프로토타입이 되고 메서드를 제공하게 됩니다. 이는 상당히 메모리 효율적입니다.
5050

51-
By specification, all of the built-in prototypes have`Object.prototype` on the top. That's why some people say that "everything inherits from objects".
51+
구체적으로 모든 내장 프로토타입은`Object.prototype`을 가장 위에 가집니다. 이 때문에 몇몇 사람들은 "모든 것은 객체로부터 온다"라고 말합니다.
5252

53-
Here's the overall picture (for 3 built-ins to fit):
53+
여기 전체적인 3개의 내장객체에 대한 그림이 있습니다.
5454

5555
![](native-prototypes-classes.svg)
5656

57-
Let's check the prototypes manually:
57+
프로토타입을 각각 확인해 봅시다.
5858

5959
```js run
6060
let arr= [1,2,3];
6161

62-
//it inherits fromArray.prototype?
62+
// Array.prototype으로부터 상속되었나?
6363
alert(arr.__proto__===Array.prototype );// true
6464

65-
//then fromObject.prototype?
65+
//그럼Object.prototype부터?
6666
alert(arr.__proto__.__proto__===Object.prototype );// true
6767

68-
//and null on the top.
68+
//그리고 가장 위의 null값
6969
alert(arr.__proto__.__proto__.__proto__ );// null
7070
```
7171

72-
Some methods in prototypes may overlap, for instance,`Array.prototype` has its own`toString` that lists comma-delimited elements:
72+
몇몇 프로토타입의 메서드가 중복이 될 수도 있습니다. 예를 들어`Array.prototype`은 쉼표를 통해 구분된 요소들을 나열하는 자기 자신의`toString`를 가집니다.
7373

7474
```js run
7575
let arr= [1,2,3]
76-
alert(arr);// 1,2,3 <--the result ofArray.prototype.toString
76+
alert(arr);// 1,2,3 <-- Array.prototype.toString 의 결과
7777
```
7878

79-
As we've seen before,`Object.prototype`has`toString` as well, but`Array.prototype` is closer in the chain, so the array variant is used.
79+
전에 보았던 대로,`Object.prototype`또한`toString`을 가지고 있습니다. 그러나`Array.prototype`이 체인에 더 가깝기 때문에 Array의 toString이 사용되었습니다.
8080

8181

8282
![](native-prototypes-array-tostring.svg)
8383

8484

85-
In-browser tools like Chrome developer console also show inheritance(`console.dir` may need to be used for built-in objects):
85+
Chrome 개발자 콘솔과 같은 브라우저 툴 내에서는 상속을 보여줍니다.(`console.dir`는 아마 내장 객체를 사용하기 위해 필요합니다.)
8686

8787
![](console_dir_array.png)
8888

89-
Other built-in objects also work the same way. Even functions -- they are objects of a built-in`Function` constructor, and their methods(`call`/`apply`and others) are taken from`Function.prototype`. Functions have their own`toString` too.
89+
다른 내장 객체들 또한 같은 방법으로 동작합니다. 심지어 내장`Function`의 객체 함수 생성자와 메서드(`call`/`apply`등등)들도`Fuction.prototype`으로 부터 가져옵니다. 함수 또한 자기 자신의`toString`를 가지고 있습니다.
9090

9191
```js run
9292
functionf() {}
@@ -95,21 +95,21 @@ alert(f.__proto__ == Function.prototype); // true
9595
alert(f.__proto__.__proto__==Object.prototype);// true, inherit from objects
9696
```
9797

98-
##Primitives
98+
##원시값
9999

100-
The most intricate thing happens with strings, numbers and booleans.
100+
가장 복잡한 것은 문자열, 숫자 그리고 불값과 함께 생깁니다.
101101

102-
As we remember, they are not objects. But if we try to access their properties, then temporary wrapper objects are created using built-in constructors`String`,`Number`,`Boolean`, they provide the methods and disappear.
102+
기억하다시피 이것들은 객체가 아닙니다. 그러나 그들의 프로퍼티에 접근하려고 시도한다면 내장 생성자`String`,`Number`,`Boolean`을 사용하는 임시 래퍼 객체가 생성되며 메서드를 제공하고 사라집니다.
103103

104-
These objects are created invisibly to us and most engines optimize them out, but the specification describes it exactly this way. Methods of these objects also reside in prototypes, available as`String.prototype`,`Number.prototype` and`Boolean.prototype`.
104+
이러한 객체들은 눈에 보이지 않게 생성되고 대부분의 엔진은 이를 최적화합니다. 명세서에도 이처럼 묘사됩니다. 객체들의 메서드는`String.prototype`,`Number.prototype`,`Boolean.prototype`처럼 사용할 수 있는 프로토타입 안에 존재합니다.
105105

106-
```warn header="Values`null` and`undefined` have no object wrappers"
107-
Special values`null` and`undefined` stand apart. They have no object wrappers, so methods and properties are not available for them. And there are no corresponding prototypes too.
106+
```warn header="`null``undefined`의 값은 객체 래퍼를 가지지 않습니다."
107+
특수한 값인`null``undefined`는 다른 것과는 거리가 있습니다. 객체 래퍼가 없기 때문에 메서드와 프로퍼티를 이용할 수 없습니다. 그리고 해당하는 프로퍼티도 존재하지 않습니다.
108108
```
109109
110-
##Changing native prototypes[#native-prototype-change]
110+
##네이티브 프로토타입 변경[#native-prototype-change]
111111
112-
Native prototypes can be modified. For instance, if we add a method to`String.prototype`, it becomes available to all strings:
112+
네이티브 프로토타입은 변경될 수 있습니다. 예를 들어 메서드를 `String.prototype`에 추가한다면 모든 문자열에서`String.prototype`을 사용할 수 있습니다.
113113
114114
```js run
115115
String.prototype.show = function() {
@@ -119,32 +119,32 @@ String.prototype.show = function() {
119119
"BOOM!".show(); // BOOM!
120120
```
121121

122-
During the process of development, we may have ideas for new built-in methods we'd like to have, and we may be tempted to add them to native prototypes. But that is generally a bad idea.
122+
개발과정 도중 사용자의 편의에 따른 새로운 내장 메서드를 생성할 수 있습니다. 또한 새로운 내장 메서드를 네이티브 프로토타입에 추가할 수도 있습니다. 그러나 일반적으로 좋지 않은 아이디어입니다.
123123

124124
```warn
125-
Prototypes are global, so it's easy to get a conflict. If two libraries add a method`String.prototype.show`, then one of them will be overwriting the method of the other.
125+
프로토타입은 전체에 영향을 미칩니다. 그래서 충돌이 쉽게 일어나는데 두 개의 라이브러리에서`String.prototype.show` 메서드를 추가할 때 하나의 라이브러리에서 다른 하나의 라이브러리의 메서드를 덮어쓰게 됩니다.
126126
127-
So, generally, modifying a native prototype is considered a bad idea.
127+
그래서 일반적으로 네이티브 프로토타입을 수정하는 것은 좋지 않은 아이디어입니다.
128128
```
129129

130-
**In modern programming, there is only one case where modifying native prototypes is approved. That's polyfilling.**
130+
**모던 프로그래밍에서는 오직 한 경우에만 네이티브 프로토타입 변경을 허용하고 있는데 바로 폴리필링입니다.**
131131

132-
Polyfilling is a term for making a substitute for a method that exists in JavaScript specification, but is not yet supported by current JavaScript engine.
132+
폴리필링은 자바스크립트 명세서에 존재하는 메서드에 대한 대체재를 만드는 데 사용하는데 현재의 자바스크립트 엔진에서는 아직 지원하지 않습니다.
133133

134-
Then we may implement it manually and populate the built-in prototype with it.
134+
따라서 폴리필링을 수동으로 실행하며 내장 프로토타입과 함께 값을 가져옵니다.
135135

136-
For instance:
136+
예시:
137137

138138
```js run
139-
if (!String.prototype.repeat) {//if there's no such method
140-
//add it to the prototype
139+
if (!String.prototype.repeat) {//해당 메서드가 존재하지 않는다면
140+
//프로토타입을 추가
141141

142142
String.prototype.repeat=function(n) {
143-
//repeat the string n times
143+
//string을 n회 반복
144144

145-
//actually, the code should be a little bit more complex than that
146-
//(the full algorithm is in the specification)
147-
//but even an imperfect polyfill is often considered good enough for use
145+
//사실 코드는 이거보다 조금 더 복잡합니다.
146+
//모든 알고리즘은 명세서 안에 있습니다.
147+
//그런데도 이 불완전한 폴리필은 종종 사용되기 충분합니다.
148148
returnnewArray(n+1).join(this);
149149
};
150150
}
@@ -153,17 +153,17 @@ alert( "La".repeat(3) ); // LaLaLa
153153
```
154154

155155

156-
##Borrowing from prototypes
156+
##프로토타입으로부터 빌리기
157157

158-
In the chapter<info:call-apply-decorators#method-borrowing> we talked about method borrowing.
158+
<info:call-apply-decorators#method-borrowing>에서는 메서드 빌리기에 관하여 얘기하였습니다.
159159

160-
That's when we take a method from one object and copy it into another.
160+
이는 메서드를 하나의 객체로부터 가져온 다음 다른 객체에 복사하는 것입니다.
161161

162-
Some methods of native prototypes are often borrowed.
162+
몇몇 네이티브 프로토타입의 메서드들은 자주 사용됩니다.
163163

164-
For instance, if we're making an array-like object, we may want to copy some`Array`methods to it.
164+
예를 들어 객체와 같은 배열을 만든다고 하면 아마`Array`메서드를 객체에 복사해야 합니다.
165165

166-
E.g.
166+
예시
167167

168168
```js run
169169
let obj= {
@@ -179,18 +179,18 @@ obj.join = Array.prototype.join;
179179
alert(obj.join(',') );// Hello,world!
180180
```
181181

182-
It works, because the internal algorithm of the built-in`join` method only cares about the correct indexes and the`length`property, it doesn't check that the object is indeed the array. And many built-in methods are like that.
182+
코드는 정상작동 합니다. 왜냐하면,내장`join`메서드의 내장 알고리즘은 단지 인덱스의 일치 여부만 케어하며`length`프로퍼티는 객체가 실제로 배열에 존재하는지 체크하지 않습니다. 그리고 수많은 내장 메서드들도 또한 이와 같습니다.
183183

184-
Another possibility is to inherit by setting`obj.__proto__` to`Array.prototype`, so all`Array` methods are automatically available in`obj`.
184+
다른 가능성은`obj.__proto__``Array.prototype`에 상속시키는 것입니다. 그래서 모든`Array`메서드가 자동으로`obj`에서 사용 가능하게 하는 것입니다.
185+
186+
`obj`가 이미 다른 객체로부터 상속받았다면 위 방법은 불가능합니다. 오직 한 번에 하나의 객체로부터 상속 가능함을 기억해 두세요.
185187

186-
But that's impossible if`obj` already inherits from another object. Remember, we only can inherit from one object at a time.
188+
메서드 빌리기는 유연하여 필요에 따라 함수적 기능을 섞는 것을 다른 객체로부터 가능하게 합니다.
187189

188-
Borrowing methods is flexible, it allows to mix functionality from different objects if needed.
190+
##요약
189191

190-
##Summary
191-
192-
- All built-in objects follow the same pattern:
193-
- The methods are stored in the prototype (`Array.prototype`,`Object.prototype`,`Date.prototype` etc).
194-
- The object itself stores only the data (array items, object properties, the date).
195-
- Primitives also store methods in prototypes of wrapper objects:`Number.prototype`,`String.prototype`,`Boolean.prototype`. Only`undefined` and`null` do not have wrapper objects.
196-
- Built-in prototypes can be modified or populated with new methods. But it's not recommended to change them. Probably the only allowable case is when we add-in a new standard, but not yet supported by the engine JavaScript method.
192+
- 모든 내장 객체는 같은 패턴을 따릅니다.
193+
- 메서드는 프로토타입에 저장됩니다(`Array.prototype`,`Object.prototype`,`Date.prototype` 등).
194+
- 객체 스스로는 단지 데이터만 저장합니다(배열의 아이템, 객체의 프로퍼티, 날짜).
195+
- 원시값 또한 객체 래퍼의 프로토타입 안에`Number.prototype`,`String.prototype`,`Boolean.prototype`과 같은 메서드를 저장합니다.`undefined``null` 값만 객체 래퍼를 가지지 않습니다.
196+
- 내장 프로토타입은 수정 가능하며 새로운 메서드와 함께 값을 가져올 수 있습니다. 그러나 내장 프로토타입을 변경하는 것을 추천하진 않습니다. 아마 새로운 표준을 추가하려고 할 때 만 가능합니다. 그러나 이는 자바스크립트 엔진 메서드에서는 아직 지원하지 않습니다.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp