(fn)
| 48 | throw new Error(`'${fn}' does not throw`); |
| 49 | }, |
| 50 | looksNative(fn) |
| 51 | { |
| 52 | if (!fn.toString().includes('[native code]')) throw new Error(`'${fn}' does not look native`); |
| 53 | }, |
| 54 | enumerable(obj, propertyName) |
| 55 | { |
| 56 | const descriptor = Object.getOwnPropertyDescriptor(obj, propertyName); |