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 --- .../ko/web/javascript/reference/global_objects/array/flatmap/index.html | 2 +- .../web/javascript/reference/global_objects/object/valueof/index.html | 2 +- files/ko/web/javascript/reference/global_objects/promise/index.html | 2 +- files/ko/web/javascript/reference/global_objects/regexp/index.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'files/ko/web/javascript/reference/global_objects') diff --git a/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html b/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html index 9d762001e8..ceaa87f4b2 100644 --- a/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html +++ b/files/ko/web/javascript/reference/global_objects/array/flatmap/index.html @@ -82,7 +82,7 @@ arr1.flatMap(x => x.split(" ")flatMap() 을 이용한 아이템 추가 및 제거 -

flatMapmap을 하는 과정에서 아이템을 추가하거나 제거하여 아이템 개수를 바꿀 수 있습니다. 다른 말로는 각각의 아이템에 대하여 1:1대응관계 뿐만 아니라 다대다 대응도 가능하다는 것입니다. 이러한 측면에서 filter가 하는 역할의 반대역할을 한다고 볼 수 있습니다. 단순히 아무런 변화를 주고 싶지 않을때에는 원소 하나를 가진 배열을 반환할 수도, 아이템을 추가하고 싶을 때는 다-원소 배열을 반환할 수도, 아이템을 제거하고 싶을 때에는 빈 배열을 반환할 수도 있습니다.

+

flatMapmap을 하는 과정에서 아이템을 추가하거나 제거하여 아이템 개수를 바꿀 수 있습니다. 다른 말로는 각각의 아이템에 대하여 1:1대응관계 뿐만 아니라 다대다 대응도 가능하다는 것입니다. 이러한 측면에서 filter가 하는 역할의 반대역할을 한다고 볼 수 있습니다. 단순히 아무런 변화를 주고 싶지 않을때에는 원소 하나를 가진 배열을 반환할 수도, 아이템을 추가하고 싶을 때는 다-원소 배열을 반환할 수도, 아이템을 제거하고 싶을 때에는 빈 배열을 반환할 수도 있습니다.

// 다음은 음수는 제거하고 홀수는 1과 짝수로 분리하는 예시입니다.
 let a = [5, 4, -3, 20, 17, -33, -4, 18]
diff --git a/files/ko/web/javascript/reference/global_objects/object/valueof/index.html b/files/ko/web/javascript/reference/global_objects/object/valueof/index.html
index 7bef3bd48c..863ba06a1e 100644
--- a/files/ko/web/javascript/reference/global_objects/object/valueof/index.html
+++ b/files/ko/web/javascript/reference/global_objects/object/valueof/index.html
@@ -26,7 +26,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/valueOf
 

객체의 원시 값.

-

 (단항) 더하기 기호 는 가끔  valueOf 의 단축 표현으로 사용됩니다. 예를 들면, 다음과 같은 표현을 보세요. +new Number()단항 더하기 사용하기.도 참조 하세요.

+

 (단항) 더하기 기호 는 가끔  valueOf 의 단축 표현으로 사용됩니다. 예를 들면, 다음과 같은 표현을 보세요. +new Number()단항 더하기 사용하기.도 참조 하세요.

설명

diff --git a/files/ko/web/javascript/reference/global_objects/promise/index.html b/files/ko/web/javascript/reference/global_objects/promise/index.html index d3dbf076c5..a06ff3cc40 100644 --- a/files/ko/web/javascript/reference/global_objects/promise/index.html +++ b/files/ko/web/javascript/reference/global_objects/promise/index.html @@ -13,7 +13,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise

Promise 객체는 비동기 작업이 맞이할 미래의 완료 또는 실패와 그 결과 값을 나타냅니다.

-

Promise의 작동 방식과 Promise 사용 방법에 대해 알아보려면 먼저 Promise 사용 방법을 읽어 보십시오.

+

Promise의 작동 방식과 Promise 사용 방법에 대해 알아보려면 먼저 Promise 사용 방법을 읽어 보십시오.

설명

diff --git a/files/ko/web/javascript/reference/global_objects/regexp/index.html b/files/ko/web/javascript/reference/global_objects/regexp/index.html index 541d3585db..5675812788 100644 --- a/files/ko/web/javascript/reference/global_objects/regexp/index.html +++ b/files/ko/web/javascript/reference/global_objects/regexp/index.html @@ -51,7 +51,7 @@ let re = new RegExp('\\w+')

Perl  형태의 RegExp 속성

-

일부 {{JSxRef("RegExp")}} 속성은 같은 값에 대해 긴 이름과 짧은 (Perl 형태의) 이름 모두 가지고 있습니다. (Perl은 JavaScript가 정규 표현식을 만들 때 참고한 프로그래밍 언어입니다.)  사용하지 않는 RegExp 속성을 참고하세요.

+

일부 {{JSxRef("RegExp")}} 속성은 같은 값에 대해 긴 이름과 짧은 (Perl 형태의) 이름 모두 가지고 있습니다. (Perl은 JavaScript가 정규 표현식을 만들 때 참고한 프로그래밍 언어입니다.)  사용하지 않는 RegExp 속성을 참고하세요.

생성자

-- cgit v1.2.3-54-g00ecf