Skip to content
Snippets Groups Projects
Commit 82c61489 authored by André Bargull's avatar André Bargull Committed by Leo Balter
Browse files

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

parent 03da2286
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ assert.compareArray([1, 2].flatMap(function(e) { ...@@ -14,7 +14,7 @@ assert.compareArray([1, 2].flatMap(function(e) {
var result = [1, 2, 3].flatMap(function(ele) { var result = [1, 2, 3].flatMap(function(ele) {
return [[ele * 2]]; return [[ele * 2]];
}; });
assert.sameValue(result.length, 3, 'array depth is more than 1 - length'); 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[0], [2], 'array depth is more than 1 - 1st element');
assert.compareArray(result[1], [4], 'array depth is more than 1 - 2nd element'); assert.compareArray(result[1], [4], 'array depth is more than 1 - 2nd element');
......
...@@ -5,7 +5,6 @@ author: Jordan Harband ...@@ -5,7 +5,6 @@ author: Jordan Harband
description: finally on resolved Promise calls the SpeciesConstructor description: finally on resolved Promise calls the SpeciesConstructor
esid: sec-promise.prototype.finally esid: sec-promise.prototype.finally
features: [Promise.prototype.finally] features: [Promise.prototype.finally]
flags: [async]
---*/ ---*/
class FooPromise extends Promise { class FooPromise extends Promise {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment