6.6.2 - Alpha3 - 升级并兼容 Rhino 引擎版本 1.8.1-SNAPSHOT

This commit is contained in:
SuperMonster003
2025-02-28 15:26:59 +08:00
parent e794712e63
commit 870049d250
38 changed files with 219 additions and 203 deletions

View File

@@ -94,7 +94,7 @@ module.exports = (/* @IIFE */ () => {
/**
* @constructor
*/
Handler(onFulfilled, onRejected, promise) {
Handler: function (onFulfilled, onRejected, promise) {
this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;
this.onRejected = typeof onRejected === 'function' ? onRejected : null;
this.promise = promise;