Add missing closing parenthesis and remove invalid async flag (#1402)

This commit is contained in:
André Bargull 2018-02-01 11:04:51 -08:00 committed by Leo Balter
parent 03da22868a
commit 82c6148980
2 changed files with 1 additions and 2 deletions

View File

@ -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');

View File

@ -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 {