From 619211e9ba8a68c9d5de346dfc73fa0686c9148d Mon Sep 17 00:00:00 2001 From: Yeji Choi <61399588+yechoi42@users.noreply.github.com> Date: Sun, 18 Jul 2021 22:58:53 +0900 Subject: fix: delete wiki.mozilla.org from ko files (#1567) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: delete wiki.mozilla.org from ko/learn files * fix: delete wiki.mozilla.org from ko/glossary files * fix: remove wiki * fix: remove python script file 잘못올렸습니다.. ㅠ * Update files/ko/web/html/attributes/index.html Co-authored-by: hochan222 --- .../web/javascript/reference/operators/object_initializer/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/ko/web/javascript/reference/operators/object_initializer/index.html') diff --git a/files/ko/web/javascript/reference/operators/object_initializer/index.html b/files/ko/web/javascript/reference/operators/object_initializer/index.html index 21669048a6..6040804e5f 100644 --- a/files/ko/web/javascript/reference/operators/object_initializer/index.html +++ b/files/ko/web/javascript/reference/operators/object_initializer/index.html @@ -215,7 +215,7 @@ console.log(config); // { size: 12, mobileSize: 4 }

전개 속성

-

ECMASCript의 나머지/전개 속성 제안 (stage 4) 으로 전개(spread) 속성이 객체 리터럴에 추가됩니다. 이 속성은 제공된 객체의 열거 가능한(enumerable) 속성을 새 객체로 복사합니다.

+

ECMASCript의 나머지/전개 속성 제안 (stage 4) 으로 전개(spread) 속성이 객체 리터럴에 추가됩니다. 이 속성은 제공된 객체의 열거 가능한(enumerable) 속성을 새 객체로 복사합니다.

(prototype을 제외하는) 얕은 복제(Shallow-cloning) 나 객체 합침(merging objects)이 이제{{jsxref("Object.assign()")}} 보다 짧은 문법으로 가능해집니다.

@@ -229,7 +229,7 @@ let mergedObj = { ...obj1, ...obj2 } // Object { foo: "baz", x: 42, y: 13 }
-

{{jsxref("Object.assign()")}}는 setters를 작동시키지만, 전개 연산자(spread operator)는 아니라는 걸 주목하세요!

+

{{jsxref("Object.assign()")}}는 setters를 작동시키지만, 전개 연산자(spread operator)는 아니라는 걸 주목하세요!

프로토타입 변이

-- cgit v1.2.3-54-g00ecf