From 305d165fd8a41308778bdc7103327e59768d1c12 Mon Sep 17 00:00:00 2001 From: Jiwoo <86906350+jiwoo84@users.noreply.github.com> Date: Mon, 3 Oct 2022 10:51:10 +0900 Subject: [PATCH] =?UTF-8?q?[=EC=98=A4=EB=B2=88=EC=97=AD=EC=88=98=EC=A0=95]?= =?UTF-8?q?=20Part=201=20-=2011.2=20=ED=94=84=EB=9D=BC=EB=AF=B8=EC=8A=A4?= =?UTF-8?q?=20=EC=98=88=EC=8B=9C=20#1551?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [오번역수정] Part 1 - 11.2 프라미스 예시 #1551 --- 1-js/11-async/02-promise-basics/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/11-async/02-promise-basics/article.md b/1-js/11-async/02-promise-basics/article.md index a51dec0301..783473f2e4 100644 --- a/1-js/11-async/02-promise-basics/article.md +++ b/1-js/11-async/02-promise-basics/article.md @@ -60,7 +60,7 @@ let promise = new Promise(function(resolve, reject) { 1. executor는 `new Promise`에 의해 자동으로 그리고 즉각적으로 호출됩니다. 2. executor는 인자로 `resolve`와 `reject` 함수를 받습니다. 이 함수들은 자바스크립트 엔진이 미리 정의한 함수이므로 개발자가 따로 만들 필요가 없습니다. 다만, `resolve`나 `reject` 중 하나는 반드시 호출해야 합니다. - executor '처리'가 시작 된 지 1초 후, `resolve("done")`이 호출되고 결과가 만들어집니다. 이때 `promise` 객체의 상태는 다음과 같이 변합니다. + executor '처리'가 시작 된 지 1초 후, `resolve("완료")`이 호출되고 결과가 만들어집니다. 이때 `promise` 객체의 상태는 다음과 같이 변합니다. ![](promise-resolve-1.svg) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy