Update std.js

This commit is contained in:
Namhyeon Go 2022-02-08 18:17:43 +09:00 committed by GitHub
parent 0f5b25c5aa
commit beedfd6c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ global.repeat = function(ms, callback) {
if (typeof WScript !== "undefined") { if (typeof WScript !== "undefined") {
while (cur < end) { while (cur < end) {
sleep(callback().ms); sleep(callback());
cur = Date.now(); cur = Date.now();
} }
end = Date.now(); end = Date.now();