diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-19 23:11:17 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-05-19 23:11:17 +0200 |
commit | 162e22a7de3026b676156a2aad29909fe3795dba (patch) | |
tree | 5f289528d555a2b7f2906c72591773814d6e0ea4 /js/src/tests/ecma_6 | |
parent | c72afc3c8c3f1df53d241c45dd21aa1b2a6c8e50 (diff) | |
download | UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.gz UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.lz UXP-162e22a7de3026b676156a2aad29909fe3795dba.tar.xz UXP-162e22a7de3026b676156a2aad29909fe3795dba.zip |
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/ecma_6')
-rw-r--r-- | js/src/tests/ecma_6/Array/unscopables.js | 2 |
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 6685309a0..56b3aa520 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" |