mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
JS - support for Array.prototype.values()
This commit is contained in:
parent
ef6478af8c
commit
f8591643c5
8 changed files with 32 additions and 9 deletions
|
|
@ -198,9 +198,9 @@ 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"];
|
||||
"values", "constructor"];
|
||||
if (isNightlyBuild) {
|
||||
gPrototypeProperties['Array'].push("values");
|
||||
// ...nothing now
|
||||
}
|
||||
gConstructorProperties['Array'] =
|
||||
constructorProps(["join", "reverse", "sort", "push", "pop", "shift",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue