Update std.js

This commit is contained in:
Namhyeon Go 2024-08-06 21:34:01 +09:00 committed by GitHub
parent 3ff02c442e
commit d6cf95b345
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -439,9 +439,11 @@ function AsyncFunction(f, __filename) {
return (pos > -1 ? path.substring(pos + 1) : "");
})(WScript.ScriptFullName);
}
AsyncFunction.__counter__++;
};
AsyncFunction.counter = 0;
AsyncFunction.bind = function(exports, args) {
AsyncFunction.__counter__ = 0;
AsyncFunction.Resolve = function(exports, args) {
if (args.length < 2)
return;
@ -566,7 +568,7 @@ exports.Storage = StdStorage;
exports.alert = alert;
exports.confirm = confirm;
exports.VERSIONINFO = "WelsonJS Standard Library (std.js) version 0.8.5";
exports.VERSIONINFO = "WelsonJS Standard Library (std.js) version 0.8.6";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;