From 8388bf02d939fb66650cd2c9cefc2371142d35c7 Mon Sep 17 00:00:00 2001 From: "Shahar Or (mightyiam)" Date: Tue, 17 Apr 2018 17:17:34 +0300 Subject: [PATCH] fix: 2.3.3.3.4.1: be specific about what to ignore --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 78c0b8c..ae42a6f 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ To run `[[Resolve]](promise, x)`, perform the following steps: 1. If/when `rejectPromise` is called with a reason `r`, reject `promise` with `r`. 1. If both `resolvePromise` and `rejectPromise` are called, or multiple calls to the same argument are made, the first call takes precedence, and any further calls are ignored. 1. If calling `then` throws an exception `e`, - 1. If `resolvePromise` or `rejectPromise` have been called, ignore it. + 1. If `resolvePromise` or `rejectPromise` have been called, ignore the exception `e`. 1. Otherwise, reject `promise` with `e` as the reason. 1. If `then` is not a function, fulfill `promise` with `x`. 1. If `x` is not an object or function, fulfill `promise` with `x`.