mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1749496 - Add groupby and groupbytomap to xrayToJS only in nightly build r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D135604
This commit is contained in:
parent
67edebb322
commit
054098f80a
@ -231,7 +231,11 @@ 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", "flat", "flatMap", "at", "groupBy", "groupByToMap"];
|
||||
"values", "constructor", "flat", "flatMap", "at"];
|
||||
if (isNightlyBuild) {
|
||||
gPrototypeProperties['Array'].push("groupBy");
|
||||
gPrototypeProperties['Array'].push("groupByToMap");
|
||||
}
|
||||
gConstructorProperties['Array'] =
|
||||
constructorProps(["isArray", "from", "of", Symbol.species]);
|
||||
for (var c of typedArrayClasses) {
|
||||
|
Loading…
Reference in New Issue
Block a user