Update std.js

This commit is contained in:
Namhyeon Go 2022-04-11 15:35:53 +09:00 committed by GitHub
parent 157d723b44
commit ce0fe9f393
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -335,6 +335,7 @@ function AsyncFunction(f) {
sleep(1, this.f);
}
};
this.runSynchronously = function() {
return this.f.apply(null, arguments);
};
@ -360,7 +361,7 @@ global.splitLn = splitLn;
global.addslashes = addslashes;
global.AsyncFunction = AsyncFunction;
exports.VERSIONINFO = "Standard Lib (std.js) version 0.5";
exports.VERSIONINFO = "Standard Library (std.js) version 0.6";
exports.global = global;
exports.require = global.require;