Update std.js

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

View File

@ -461,6 +461,7 @@ AsyncFunction.Resolve = function(exports, args) {
throw new AsyncFunction.Resolved("Resolved");
};
AsyncFunction.bind = AsyncFunction.Resolve; // compatible under 0.2.7.31
AsyncFunction.Resolved = function(message) {
this.name = "AsyncFunction.Resolved";
this.message = message;