From 1edfd3d5da5e1a559adb5d3a6a56beaed14845d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Ogam?= Date: Fri, 4 Oct 2024 21:04:06 +0200 Subject: [PATCH] Declare the special handling of promise arguments only for the resolve function (#36194) --- .../reference/global_objects/promise/promise/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/javascript/reference/global_objects/promise/promise/index.md b/files/en-us/web/javascript/reference/global_objects/promise/promise/index.md index a0a7d44e8114eab..33fb3e8fc1a1e04 100644 --- a/files/en-us/web/javascript/reference/global_objects/promise/promise/index.md +++ b/files/en-us/web/javascript/reference/global_objects/promise/promise/index.md @@ -26,7 +26,7 @@ new Promise(executor) ### Return value -When called via `new`, the `Promise` constructor returns a promise object. The promise object will become _resolved_ when either of the functions `resolveFunc` or `rejectFunc` are invoked. Note that if you call `resolveFunc` or `rejectFunc` and pass another `Promise` object as an argument, it can be said to be "resolved", but still not "settled". See the [Promise description](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#description) for more explanation. +When called via `new`, the `Promise` constructor returns a promise object. The promise object will become _resolved_ when either of the functions `resolveFunc` or `rejectFunc` are invoked. Note that if you call `resolveFunc` and pass another promise object as an argument, the initial promise can be said to be "resolved", but still not "settled". See the [Promise description](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise#description) for more explanation. ## Description