summaryrefslogtreecommitdiff
path: root/js/src/tests
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-19 23:11:17 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-19 23:11:17 +0200
commita5b308da13855cc4476f561e828bb9d90ee72167 (patch)
tree5f289528d555a2b7f2906c72591773814d6e0ea4 /js/src/tests
parent9ca07f93b5f7832f4e10c114d25a6d005559d3f7 (diff)
downloaduxp-a5b308da13855cc4476f561e828bb9d90ee72167.tar.gz
Implement array.flat and array.flatMap
Self-hosted implementation that adds both functions and adds them to @@unscopables as specced in ES2019. Resolves #1095
Diffstat (limited to 'js/src/tests')
-rw-r--r--js/src/tests/ecma_6/Array/unscopables.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/tests/ecma_6/Array/unscopables.js b/js/src/tests/ecma_6/Array/unscopables.js
index 6685309a06..56b3aa520a 100644
--- a/js/src/tests/ecma_6/Array/unscopables.js
+++ b/js/src/tests/ecma_6/Array/unscopables.js
@@ -26,6 +26,8 @@ assertDeepEq(keys, [
"fill",
"find",
"findIndex",
+ "flat",
+ "flatMap",
"includes",
"keys",
"values"