fix func
This commit is contained in:
2
index.js
2
index.js
@@ -82,7 +82,7 @@ const lodash = typeof require !== 'undefined' ? require('lodash') : {};
|
||||
global.setTimeout = function (handler, timeout, ...args) {
|
||||
return _timeout.call(global, handler, +timeout + 1000, ...args);
|
||||
}
|
||||
global.setTimeout = function (handler, timeout, ...args) {
|
||||
global.setInterval = function (handler, timeout, ...args) {
|
||||
return _interval.call(global, handler, +timeout + 1000, ...args);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user