aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/promise
diff options
context:
space:
mode:
authoralattalatta <urty5656@gmail.com>2021-08-14 15:57:42 +0900
committerGitHub <noreply@github.com>2021-08-14 15:57:42 +0900
commit86792571ae1a21a1e4bf526747d6dd1c2636d167 (patch)
treec8cabac7926ab152ce22d07e4670fcb90943d61a /files/ko/web/javascript/reference/global_objects/promise
parenta04c78de5e61e8b716173968d63f6113a09651bd (diff)
downloadtranslated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.gz
translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.tar.bz2
translated-content-86792571ae1a21a1e4bf526747d6dd1c2636d167.zip
Clean up JS reference documents (#1818)
* Clean up JavaScript references HTML code - Remove inline styles - Remove <font> elements - Remove title attribute * Remove sup/sub from JavaScript reference * Remove name attrs from JavaScript reference * Remove legacy browser compat elements * Remove duplicate browser-compat key
Diffstat (limited to 'files/ko/web/javascript/reference/global_objects/promise')
-rw-r--r--files/ko/web/javascript/reference/global_objects/promise/finally/index.html2
-rw-r--r--files/ko/web/javascript/reference/global_objects/promise/index.html4
-rw-r--r--files/ko/web/javascript/reference/global_objects/promise/race/index.html2
-rw-r--r--files/ko/web/javascript/reference/global_objects/promise/then/index.html2
4 files changed, 5 insertions, 5 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/promise/finally/index.html b/files/ko/web/javascript/reference/global_objects/promise/finally/index.html
index edf6025aef..80be4d88d2 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/finally/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/finally/index.html
@@ -48,7 +48,7 @@ p.finally(function() {
</ul>
<div class="note">
-<p><strong>Note:</strong>  <code>finally</code> 콜백에서 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5); font-size: 16px;">throw</span></font> (또는 거부된 promise를 반환)하면 <font face="consolas, Liberation Mono, courier, monospace"><span style="background-color: rgba(220, 220, 220, 0.5); font-size: 16px;">throw()</span></font>를 호출 할 때 지정된 거부 이유로 새롭게 만들어진 promise를 반환합니다.</p>
+<p><strong>Note:</strong>  <code>finally</code> 콜백에서 <code>throw</code> (또는 거부된 promise를 반환)하면 <code>throw()</code>를 호출 할 때 지정된 거부 이유로 새롭게 만들어진 promise를 반환합니다.</p>
</div>
<h2 id="예제">예제</h2>
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 cc9c9bc427..6a78ea5619 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/index.html
@@ -27,7 +27,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise
<li>거부(<em>rejected)</em>: 연산이 실패함.</li>
</ul>
-<p>대기 중인 프로미스는 값과 함께 <em>이행할</em> 수도, 어떤 이유(오류)로 인해 <em>거부</em>될 수 있습니다. 이행이나 거부될 때, 프로미스에 연결한 처리기는 그 프로미스의 <code>then</code> 메서드에 의해 대기열에 오릅니다. 이미 이행했거나 거부된 프로미스에 연결한 처리기도 호출하므로, 비동기 연산과 처리기 연결 사이에 경합 조건<sup>race condition</sup>은 없습니다.</p>
+<p>대기 중인 프로미스는 값과 함께 <em>이행할</em> 수도, 어떤 이유(오류)로 인해 <em>거부</em>될 수 있습니다. 이행이나 거부될 때, 프로미스에 연결한 처리기는 그 프로미스의 <code>then</code> 메서드에 의해 대기열에 오릅니다. 이미 이행했거나 거부된 프로미스에 연결한 처리기도 호출하므로, 비동기 연산과 처리기 연결 사이에 경합 조건은 없습니다.</p>
<p>{{jsxref("Promise.prototype.then()")}} 및 {{jsxref("Promise.prototype.catch()")}} 메서드의 반환 값은 다른 프로미스이므로, 서로 연결할 수 있습니다.</p>
@@ -38,7 +38,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise
</div>
<div class="note">
-<p><strong>참고</strong>: 프로미스는 대기 중이지 않으며 이행 또는 거부됐을 때 처리(settled)됐다고 말합니다. 프로미스와 함께 쓰이는 단어 resolved는 프로미스가 다른 프로미스의 상태에 맞춰 처리됨, 또는 상태가 "잠김"되었다는 의미입니다. 용어에 관한 더 자세한 설명은 Domenic Denicola의 글 <a href="https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md" title="States and fates">States and fates</a>에서 볼 수 있습니다.</p>
+<p><strong>참고</strong>: 프로미스는 대기 중이지 않으며 이행 또는 거부됐을 때 처리(settled)됐다고 말합니다. 프로미스와 함께 쓰이는 단어 resolved는 프로미스가 다른 프로미스의 상태에 맞춰 처리됨, 또는 상태가 "잠김"되었다는 의미입니다. 용어에 관한 더 자세한 설명은 Domenic Denicola의 글 <a href="https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md">States and fates</a>에서 볼 수 있습니다.</p>
</div>
<h2 id="생성자">생성자</h2>
diff --git a/files/ko/web/javascript/reference/global_objects/promise/race/index.html b/files/ko/web/javascript/reference/global_objects/promise/race/index.html
index 618ae4ccb5..47b027024b 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/race/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/race/index.html
@@ -40,7 +40,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/race
<h2 id="예제">예제</h2>
-<h3 id="Promise.race의_비동기성"><font face="consolas, Liberation Mono, courier, monospace"><code>Promise.race</code>의 비동기성</font></h3>
+<h3 id="Promise.race의_비동기성"><code>Promise.race</code>의 비동기성</h3>
<p>다음 예제에서 <code>Promise.race</code>의 비동기성을 확인할 수 있습니다.</p>
diff --git a/files/ko/web/javascript/reference/global_objects/promise/then/index.html b/files/ko/web/javascript/reference/global_objects/promise/then/index.html
index 989b17b846..c4f1a1295a 100644
--- a/files/ko/web/javascript/reference/global_objects/promise/then/index.html
+++ b/files/ko/web/javascript/reference/global_objects/promise/then/index.html
@@ -41,7 +41,7 @@ p.then(function(value) {
<h3 id="반환값">반환값</h3>
-<p>{{jsxref("Promise")}}가 이행하거나 거부했을 때, 각각에 해당하는 핸들러 함수(<code style="font-style: normal; font-weight: normal;">onFulfilled</code>나 <code style="font-style: normal; font-weight: normal;">onRejected</code>)가 <strong>비동기적으로</strong> 실행됩니다. 핸들러 함수는 다음 규칙을 따라 실행됩니다.</p>
+<p>{{jsxref("Promise")}}가 이행하거나 거부했을 때, 각각에 해당하는 핸들러 함수(<code>onFulfilled</code>나 <code>onRejected</code>)가 <strong>비동기적으로</strong> 실행됩니다. 핸들러 함수는 다음 규칙을 따라 실행됩니다.</p>
<ul>
<li>함수가 값을 반환할 경우, <code>then</code>에서 반환한 프로미스는 그 반환값을 자신의 결과값으로 하여 이행합니다.</li>