Update Promise.race and Promise.all to ES11 (#3954)
Changes based on ECMA-262 v11, 25.6.4.4 and 26.6.4.1 step 3 JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
@@ -13,9 +13,4 @@
|
||||
// limitations under the License.
|
||||
|
||||
Object.prototype["symbol"] = 0;
|
||||
try {
|
||||
Promise.race([]);
|
||||
assert(false);
|
||||
} catch(e) {
|
||||
assert(e instanceof TypeError);
|
||||
}
|
||||
Promise.race([]);
|
||||
|
||||
Reference in New Issue
Block a user