From 4ee50b036e005cd0ff890156bbb6f17e3b876879 Mon Sep 17 00:00:00 2001 From: JuyeongByeon Date: Sun, 5 Sep 2021 10:37:31 +0900 Subject: [fix and improvement] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit before In current document, It said "이 함수 표현은 메소드 함수가 아닌 곳에 가장 적합합니다. 그래서 생성자로서 사용할 수 없습니다." It means " This function expression is best suited for non-method functions. That's why you can't use it as a constructor." But it is not. As I know Arrow function does not have a prototype that's why it can't be used as a constructor. this translation needs to be fixed. And some of the information was not translated into Korean after * Invalid information about Arrowfunction was removed. * Added omitted information. --- .../javascript/reference/functions/arrow_functions/index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'files/ko') diff --git a/files/ko/web/javascript/reference/functions/arrow_functions/index.html b/files/ko/web/javascript/reference/functions/arrow_functions/index.html index cb42f89ebc..44e2310468 100644 --- a/files/ko/web/javascript/reference/functions/arrow_functions/index.html +++ b/files/ko/web/javascript/reference/functions/arrow_functions/index.html @@ -12,7 +12,14 @@ original_slug: Web/JavaScript/Reference/Functions/애로우_펑션 ---
{{jsSidebar("Functions")}}
-

화살표 함수 표현(arrow function expression)은 function 표현에 비해 구문이 짧고  자신의 this, arguments, super 또는 new.target을 바인딩 하지 않습니다. 화살표 함수는 항상 익명입니다. 이  함수 표현은 메소드 함수가 아닌 곳에 가장 적합합니다. 그래서 생성자로서 사용할 수 없습니다.

+

화살표 함수 표현(arrow function expression)은 전통적인 함수표현(function)의 간편한 대안입니다. 하지만, 화살표 함수는 몇 가지 제한점이 있고 모든 상황에 사용할 수는 없습니다.

+

{{EmbedInteractiveExample("pages/js/functions-arrow.html")}}

-- cgit v1.2.3-54-g00ecf