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

@ -198,7 +198,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=933681
"pop", "shift", "unshift", "splice", "concat", "slice", "lastIndexOf", "indexOf",
"includes", "forEach", "map", "reduce", "reduceRight", "filter", "some", "every", "find",
"findIndex", "copyWithin", "fill", Symbol.iterator, Symbol.unscopables, "entries", "keys",
"values", "constructor"];
"constructor"];
if (isNightlyBuild) {
gPrototypeProperties['Array'].push("values");
}
gConstructorProperties['Array'] =
constructorProps(["join", "reverse", "sort", "push", "pop", "shift",
"unshift", "splice", "concat", "slice", "isArray",