vlad 6f123ff03e 18.07 | 6 rokov pred | |
---|---|---|
.. | ||
index.js | 6 rokov pred | |
package.json | 6 rokov pred | |
readme.md | 6 rokov pred |
Simple
setImmediate
shim
$ npm install --save set-immediate-shim
var setImmediateShim = require('set-immediate-shim');
setImmediateShim(function () {
console.log('2');
});
console.log('1');
//=> 1
//=> 2
MIT © Sindre Sorhus