(gen)
| 5461 | } |
| 5462 | exports.reportMissingProp = reportMissingProp; |
| 5463 | function hasPropFunc(gen) { |
| 5464 | return gen.scopeValue("func", { |
| 5465 | // eslint-disable-next-line @typescript-eslint/unbound-method |
| 5466 | ref: Object.prototype.hasOwnProperty, |
| 5467 | code: (0, codegen_1._) `Object.prototype.hasOwnProperty`, |
| 5468 | }); |
| 5469 | } |
| 5470 | exports.hasPropFunc = hasPropFunc; |
| 5471 | function isOwnProperty(gen, data, property) { |
| 5472 | return (0, codegen_1._) `${hasPropFunc(gen)}.call(${data}, ${property})`; |
no test coverage detected