forked from mirrors/gecko-dev
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
1 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue