Enable Array.prototype.values

This resolves #85
This commit is contained in:
wolfbeast 2018-03-27 17:05:14 +02:00 committed by Roy Tam
commit 663b7836f5
3 changed files with 10 additions and 17 deletions

View file

@ -198,10 +198,7 @@ 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",
"constructor"];
if (isNightlyBuild) {
gPrototypeProperties['Array'].push("values");
}
"values", "constructor"];
gConstructorProperties['Array'] =
constructorProps(["join", "reverse", "sort", "push", "pop", "shift",
"unshift", "splice", "concat", "slice", "isArray",