Server IP : 162.213.251.212 / Your IP : 3.147.51.147 [ Web Server : LiteSpeed System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : allssztx ( 535) PHP Version : 8.1.31 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/allssztx/clarkesmusicservices.com/node_modules/whatwg-url/lib/ |
Upload File : |
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); exports.convert = (globalObject, value, { context = "The provided value" } = {}) => { if (typeof value !== "function") { throw new globalObject.TypeError(context + " is not a function"); } function invokeTheCallbackFunction(...args) { const thisArg = utils.tryWrapperForImpl(this); let callResult; for (let i = 0; i < args.length; i++) { args[i] = utils.tryWrapperForImpl(args[i]); } callResult = Reflect.apply(value, thisArg, args); callResult = conversions["any"](callResult, { context: context, globals: globalObject }); return callResult; } invokeTheCallbackFunction.construct = (...args) => { for (let i = 0; i < args.length; i++) { args[i] = utils.tryWrapperForImpl(args[i]); } let callResult = Reflect.construct(value, args); callResult = conversions["any"](callResult, { context: context, globals: globalObject }); return callResult; }; invokeTheCallbackFunction[utils.wrapperSymbol] = value; invokeTheCallbackFunction.objectReference = value; return invokeTheCallbackFunction; };