111
rk
2025-09-15 0544913da2cca58f690f5f12966c214ff08eda7e
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';
var $ = require('../internals/export');
var globalThis = require('../internals/global-this');
var schedulersFix = require('../internals/schedulers-fix');
 
var setInterval = schedulersFix(globalThis.setInterval, true);
 
// Bun / IE9- setInterval additional parameters fix
// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval
$({ global: true, bind: true, forced: globalThis.setInterval !== setInterval }, {
  setInterval: setInterval
});