(proto: object, key: PropertyKey)
| 2328 | // throw on an object without the slot, a `Proxy` included. |
| 2329 | type Intrinsic = (this: unknown, ...args: Array<any>) => any |
| 2330 | const getter = (proto: object, key: PropertyKey): Intrinsic => Object.getOwnPropertyDescriptor(proto, key)!.get! |
| 2331 | const hasSlot = (intrinsic: Intrinsic, u: object): boolean => { |
| 2332 | try { |
| 2333 | intrinsic.call(u) |