Skip to content
Snippets Groups Projects
Commit 041da54c authored by Michael Ficarra's avatar Michael Ficarra Committed by Rick Waldron
Browse files

add flatten/flatMap to features.txt and mark appropriate tests

parent d8233624
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,7 @@ esid: sec-array.prototype.flatten ...@@ -5,6 +5,7 @@ esid: sec-array.prototype.flatten
description: > description: >
if the argument is a positive infinity, the depthNum is max depth of the array if the argument is a positive infinity, the depthNum is max depth of the array
includes: [compareArray.js] includes: [compareArray.js]
features: [Array.prototype.flatten]
---*/ ---*/
var a = [1, [2, [3, [4]]]] var a = [1, [2, [3, [4]]]]
......
...@@ -7,6 +7,7 @@ description: Property type and descriptor. ...@@ -7,6 +7,7 @@ description: Property type and descriptor.
info: > info: >
17 ECMAScript Standard Built-in Objects 17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js] includes: [propertyHelper.js]
features: [Array.prototype.flatten]
---*/ ---*/
assert.sameValue( assert.sameValue(
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
esid: sec-array.prototype.flatten esid: sec-array.prototype.flatten
description: > description: >
if the argument is a Symbol or Object null, it throws exception if the argument is a Symbol or Object null, it throws exception
features: [Array.prototype.flatten]
---*/ ---*/
assert.throws(TypeError, function() { assert.throws(TypeError, function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment