Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
524 bytes
|
Line | |
---|
1 | var $ = require('../internals/export');
|
---|
2 | var global = require('../internals/global');
|
---|
3 | var task = require('../internals/task');
|
---|
4 |
|
---|
5 | var FORCED = !global.setImmediate || !global.clearImmediate;
|
---|
6 |
|
---|
7 | // http://w3c.github.io/setImmediate/
|
---|
8 | $({ global: true, bind: true, enumerable: true, forced: FORCED }, {
|
---|
9 | // `setImmediate` method
|
---|
10 | // http://w3c.github.io/setImmediate/#si-setImmediate
|
---|
11 | setImmediate: task.set,
|
---|
12 | // `clearImmediate` method
|
---|
13 | // http://w3c.github.io/setImmediate/#si-clearImmediate
|
---|
14 | clearImmediate: task.clear
|
---|
15 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.