Merge pull request #11620 from Snuffleupagus/RefSetCache-forEach-rm-thisArg
Remove the unused `thisArg` from `RefSetCache.forEach`
This commit is contained in:
commit
7f1e15e088
@ -251,9 +251,9 @@ var RefSetCache = (function RefSetCacheClosure() {
|
|||||||
this.dict[ref.toString()] = this.get(aliasRef);
|
this.dict[ref.toString()] = this.get(aliasRef);
|
||||||
},
|
},
|
||||||
|
|
||||||
forEach: function RefSetCache_forEach(fn, thisArg) {
|
forEach: function RefSetCache_forEach(callback) {
|
||||||
for (var i in this.dict) {
|
for (const i in this.dict) {
|
||||||
fn.call(thisArg, this.dict[i]);
|
callback(this.dict[i]);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user