Revert "Enable Array.prototype.values"

This reverts commit 424ed1b165e50f2e71c082c0c70fcda2a2764d18.
This commit is contained in:
wolfbeast 2018-03-28 11:32:03 +02:00 committed by Roy Tam
commit ef6478af8c
3 changed files with 17 additions and 10 deletions

View file

@ -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),