minor
This commit is contained in:
parent
2f9221f4d3
commit
93316a428c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ The `promise` object returned by `new Promise` constructor has internal properti
|
|||
- `state` — initially `"pending"`, then changes to either `"fulfilled"` when `resolve` is called or `"rejected"` when `reject` is called.
|
||||
- `result` — initially `undefined`, then changes to `value` when `resolve(value)` called or `error` when `reject(error)` is called.
|
||||
|
||||
So the executor moves `promise` to one of these states:
|
||||
So the executor eventually moves `promise` to one of these states:
|
||||
|
||||

|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue