(ErrorType, message, options)
| 2353 | "node_modules/webidl-conversions/lib/index.js"(exports2) { |
| 2354 | "use strict"; |
| 2355 | function makeException(ErrorType, message, options) { |
| 2356 | if (options.globals) { |
| 2357 | ErrorType = options.globals[ErrorType.name]; |
| 2358 | } |
| 2359 | return new ErrorType(`${options.context ? options.context : "Value"} ${message}.`); |
| 2360 | } |
| 2361 | function toNumber(value, options) { |
| 2362 | if (typeof value === "bigint") { |
| 2363 | throw makeException(TypeError, "is a BigInt which cannot be converted to a number", options); |
no outgoing calls
no test coverage detected
searching dependent graphs…