web.set-timeout.js 390 B

123456789
  1. var $ = require('../internals/export');
  2. var global = require('../internals/global');
  3. var setTimeout = require('../internals/schedulers-fix').setTimeout;
  4. // ie9- setTimeout additional parameters fix
  5. // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
  6. $({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {
  7. setTimeout: setTimeout
  8. });