(url)
| 4816 | enumerable: true, |
| 4817 | configurable: true, |
| 4818 | value: function forEach(callbackfn, thisArg = globalThis) { |
| 4819 | webidl.brandCheck(this, object); |
| 4820 | webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`); |
| 4821 | if (typeof callbackfn !== "function") { |
| 4822 | throw new TypeError( |
| 4823 | `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.` |
| 4824 | ); |
| 4825 | } |