Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /usr/share/nodejs/jsdom/lib/jsdom/living/generated/ drwxr-xr-x |
Viewing file: Select action/file-type: "use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); exports.convert = (globalObject, value, { context = "The provided value" } = {}) => { function invokeTheCallbackFunction(event) { const thisArg = utils.tryWrapperForImpl(this); let callResult; if (typeof value === "function") { event = utils.tryWrapperForImpl(event); callResult = Reflect.apply(value, thisArg, [event]); } if (callResult === null || callResult === undefined) { callResult = null; } else { callResult = conversions["DOMString"](callResult, { context: context, globals: globalObject }); } return callResult; } invokeTheCallbackFunction.construct = event => { event = utils.tryWrapperForImpl(event); let callResult = Reflect.construct(value, [event]); if (callResult === null || callResult === undefined) { callResult = null; } else { callResult = conversions["DOMString"](callResult, { context: context, globals: globalObject }); } return callResult; }; invokeTheCallbackFunction[utils.wrapperSymbol] = value; invokeTheCallbackFunction.objectReference = value; return invokeTheCallbackFunction; }; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]-- |