···2020 // Once we know we have a fresh batch, we schedule this batch to run after
2121 // all currently queued microtasks.
2222 queueMicrotask(function () {
2323+ let tmp;
2424+ let i = 0;
2525+2326 // As soon as we start processing this batch, we need to delete this
2427 // batch from our container. This is because we want to ensure that
2528 // any new requests for this batch will be added to a new batch.
2629 batchContainer.delete(loadFn);
27302828- let tmp, i;
2931 loadFn(keys).then(function (values) {
3032 if (values.length !== tasks.length)
3133 return reject(new Error('loader value length mismatch'));
32343335 for (
3434- i = 0;
3636+ ;
3537 (tmp = values[i++]), i <= values.length;
3638 tmp instanceof Error
3739 ? tasks[i - 1].r(tmp)
···4042 }, reject);
41434244 function reject(error: Error) {
4343- for (i = 0; (tmp = tasks[i++]); tmp.r(error));
4545+ for (; (tmp = tasks[i++]); tmp.r(error));
4446 }
4547 });
4648 }