Open main menu

Yugipedia β

Changes

User:BecaBot/common.js

No change in size, 6 years ago
m
I have this as ES6 in my drafts...
}
const self = this.slice();
let var remaining = self.length; let var index = 0;
const execute = function( item, interval ) {
if ( remaining-- ) {
callback.call( thisArg, item, index++, this self );
} else {
clearInterval(interval);
Bureaucrats, System administrator, Administrators
57,479
edits