aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/functions
diff options
context:
space:
mode:
authorYeji Choi <61399588+yechoi42@users.noreply.github.com>2021-07-18 22:58:53 +0900
committerGitHub <noreply@github.com>2021-07-18 22:58:53 +0900
commit619211e9ba8a68c9d5de346dfc73fa0686c9148d (patch)
tree8c979eccdb1ba64e1b314ea2ab542ae3e6262c2e /files/ko/web/javascript/reference/functions
parent53fb7c6f1f2f22f558b4a5b9af867767ecfeddfd (diff)
downloadtranslated-content-619211e9ba8a68c9d5de346dfc73fa0686c9148d.tar.gz
translated-content-619211e9ba8a68c9d5de346dfc73fa0686c9148d.tar.bz2
translated-content-619211e9ba8a68c9d5de346dfc73fa0686c9148d.zip
fix: delete wiki.mozilla.org from ko files (#1567)
* 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 <hochan049@gmail.com>
Diffstat (limited to 'files/ko/web/javascript/reference/functions')
-rw-r--r--files/ko/web/javascript/reference/functions/arrow_functions/index.html8
1 files changed, 4 insertions, 4 deletions
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 13c99b28ba..a8eaa55b06 100644
--- a/files/ko/web/javascript/reference/functions/arrow_functions/index.html
+++ b/files/ko/web/javascript/reference/functions/arrow_functions/index.html
@@ -65,7 +65,7 @@ f(); // 6
];
// 이 문장은 배열을 반환함: [8, 6, 7, 9]
-elements.<a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(function(element) {
+elements.<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(function(element) {
return element.length;
});
@@ -75,7 +75,7 @@ elements.map((element) =&gt; {
}); // [8, 6, 7, 9]
// 파라미터가 하나만 있을 때는 주변 괄호를 생략할 수 있다.
-elements.<a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(element =&gt; {
+elements.<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(element =&gt; {
return element.length;
}); // [8, 6, 7, 9]
@@ -87,12 +87,12 @@ elements.map(element =&gt; element.length); // [8, 6, 7, 9]
// 'length'는 우리가 얻고자 하는 속성에 해당하는 반면,
// lengthFooBArX'는 변경 가능한 변수의 이름일 뿐이므로
// 원하는 유효한 변수명으로 변경할 수 있다.
-elements.<a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(({ length: lengthFooBArX }) =&gt; lengthFooBArX); // [8, 6, 7, 9]
+elements.<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(({ length: lengthFooBArX }) =&gt; lengthFooBArX); // [8, 6, 7, 9]
// destructuring 파라미터 할당도 아래와 같이 작성할 수 있습니다.
// 이 예에서 정의한 객체내의 'length'에 값을 지정하지 않은 점에 주목하세요. 대신, "length" 변수의
// 리터럴 이름은 우리가 해당 객체에서 꺼내오고 싶은 속성이름 자체로 사용됩니다.
-elements.<a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(({ length }) =&gt; length); // [8, 6, 7, 9] </pre>
+elements.<a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map">map</a>(({ length }) =&gt; length); // [8, 6, 7, 9] </pre>
<h3 id="바인딩_되지_않은_this">바인딩 되지 않은 <code>this</code></h3>