web.set-immediate.js 349 B

123456789
  1. var $ = require('../internals/export');
  2. var global = require('../internals/global');
  3. var setImmediate = require('../internals/task').set;
  4. // `setImmediate` method
  5. // http://w3c.github.io/setImmediate/#si-setImmediate
  6. $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, {
  7. setImmediate: setImmediate
  8. });