Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 3x 3x 5104x 3x 2348x | /**
* Used during vnode props/slots normalization to check if the vnode props/slots
* are the internal attrs / slots object of a component via
* `Object.getPrototypeOf`. This is more performant than defining a
* non-enumerable property. (one of the optimizations done for ssr-benchmark)
*/
const internalObjectProto = {}
export const createInternalObject = (): any =>
Object.create(internalObjectProto)
export const isInternalObject = (obj: object): boolean =>
Object.getPrototypeOf(obj) === internalObjectProto
|