diff --git a/files/ko/web/api/abortcontroller/index.md b/files/ko/web/api/abortcontroller/index.md index 47bbf62c3d58d1..e3d65420526ef5 100644 --- a/files/ko/web/api/abortcontroller/index.md +++ b/files/ko/web/api/abortcontroller/index.md @@ -2,6 +2,7 @@ title: AbortController slug: Web/API/AbortController --- + {{APIRef("DOM")}}{{SeeCompatTable}} **`AbortController`** 인터페이스는 하나 이상의 웹 요청을 취소할 수 있게 해준다. diff --git a/files/ko/web/api/abortcontroller/signal/index.md b/files/ko/web/api/abortcontroller/signal/index.md index 040d686819762e..98a070ea57049b 100644 --- a/files/ko/web/api/abortcontroller/signal/index.md +++ b/files/ko/web/api/abortcontroller/signal/index.md @@ -2,6 +2,7 @@ title: AbortController.signal slug: Web/API/AbortController/signal --- + {{APIRef("DOM")}}{{SeeCompatTable}} {{domxref("AbortController")}} 인터페이스의 **`signal`** 읽기 전용 프로퍼티는 DOM 요청과 통신하거나 취소하는데 사용하는 {{domxref("AbortSignal")}} 객체 인터페이스를 반환한다. diff --git a/files/ko/web/api/abortsignal/aborted/index.md b/files/ko/web/api/abortsignal/aborted/index.md index 3611d16309aac9..9e142087ad55ee 100644 --- a/files/ko/web/api/abortsignal/aborted/index.md +++ b/files/ko/web/api/abortsignal/aborted/index.md @@ -2,6 +2,7 @@ title: AbortSignal.aborted slug: Web/API/AbortSignal/aborted --- + {{APIRef("DOM")}}{{SeeCompatTable}} **`aborted`** 읽기 전용 프로퍼티는 신호가 통신하는 DOM 요청이 취소되었는지(`true`) 그렇지 않은지(`false`)를 나타내는 {{domxref("Boolean")}}을 반환한다. @@ -26,7 +27,9 @@ var signal = controller.signal; // ... -signal.aborted ? console.log('Request has been aborted') : console.log('Request not aborted'); +signal.aborted + ? console.log("Request has been aborted") + : console.log("Request not aborted"); ``` ## 명세 diff --git a/files/ko/web/api/abstractrange/collapsed/index.md b/files/ko/web/api/abstractrange/collapsed/index.md index da06857832c257..1432fe65a34b9b 100644 --- a/files/ko/web/api/abstractrange/collapsed/index.md +++ b/files/ko/web/api/abstractrange/collapsed/index.md @@ -10,7 +10,7 @@ slug: Web/API/AbstractRange/collapsed ## 문법 ```js - var isCollpased = range.collapsed +var isCollpased = range.collapsed; ``` ### Value diff --git a/files/ko/web/api/abstractrange/index.md b/files/ko/web/api/abstractrange/index.md index 5f4ec17fbe0f02..ed9e1595e3c95b 100644 --- a/files/ko/web/api/abstractrange/index.md +++ b/files/ko/web/api/abstractrange/index.md @@ -49,7 +49,7 @@ let endElem = startElem.querySelector("span"); let range = document.createRange(); range.setStart(startElem, 0); -range.setEnd(endElem, endElem.childNodes[0].length/2); +range.setEnd(endElem, endElem.childNodes[0].length / 2); let contents = range.cloneContents(); document.body.appendChild(contents); @@ -72,13 +72,15 @@ To illustrate this, consider the HTML below: ```html
- +

The Ultimate Website

Section 1: An interesting thing...

-

A very interesting thing happened on the way to the forum...

+

+ A very interesting thing happened on the way to the forum... +