mirror of https://github.com/tc39/test262.git
Add missing closing parenthesis and remove invalid async flag (#1402)
This commit is contained in:
parent
03da22868a
commit
82c6148980
|
@ -14,7 +14,7 @@ assert.compareArray([1, 2].flatMap(function(e) {
|
|||
|
||||
var result = [1, 2, 3].flatMap(function(ele) {
|
||||
return [[ele * 2]];
|
||||
};
|
||||
});
|
||||
assert.sameValue(result.length, 3, 'array depth is more than 1 - length');
|
||||
assert.compareArray(result[0], [2], 'array depth is more than 1 - 1st element');
|
||||
assert.compareArray(result[1], [4], 'array depth is more than 1 - 2nd element');
|
||||
|
|
|
@ -5,7 +5,6 @@ author: Jordan Harband
|
|||
description: finally on resolved Promise calls the SpeciesConstructor
|
||||
esid: sec-promise.prototype.finally
|
||||
features: [Promise.prototype.finally]
|
||||
flags: [async]
|
||||
---*/
|
||||
|
||||
class FooPromise extends Promise {
|
||||
|
|
Loading…
Reference in New Issue