diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-28 11:32:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-28 11:32:03 +0200 |
commit | 19b934070704c1ed12d3a75bc97752831d23f087 (patch) | |
tree | 9c241ca9940851952b99e1310e908f2dd5a49090 /js/src/jsarray.cpp | |
parent | e57cba2682d240e0a8b764920bdb22835c850a52 (diff) | |
download | UXP-19b934070704c1ed12d3a75bc97752831d23f087.tar UXP-19b934070704c1ed12d3a75bc97752831d23f087.tar.gz UXP-19b934070704c1ed12d3a75bc97752831d23f087.tar.lz UXP-19b934070704c1ed12d3a75bc97752831d23f087.tar.xz UXP-19b934070704c1ed12d3a75bc97752831d23f087.zip |
Revert "Enable Array.prototype.values"
This reverts commit 424ed1b165e50f2e71c082c0c70fcda2a2764d18.
Diffstat (limited to 'js/src/jsarray.cpp')
-rw-r--r-- | js/src/jsarray.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jsarray.cpp b/js/src/jsarray.cpp index 7a67c0095..9cbeff6a2 100644 --- a/js/src/jsarray.cpp +++ b/js/src/jsarray.cpp @@ -3165,7 +3165,9 @@ static const JSFunctionSpec array_methods[] = { JS_SELF_HOSTED_SYM_FN(iterator, "ArrayValues", 0,0), JS_SELF_HOSTED_FN("entries", "ArrayEntries", 0,0), JS_SELF_HOSTED_FN("keys", "ArrayKeys", 0,0), +#ifdef NIGHTLY_BUILD JS_SELF_HOSTED_FN("values", "ArrayValues", 0,0), +#endif /* ES7 additions */ JS_SELF_HOSTED_FN("includes", "ArrayIncludes", 2,0), |