mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00

PR-URL: https://github.com/nodejs/node/pull/53839 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
16 lines
442 B
JavaScript
16 lines
442 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _isNativeReflectConstruct;
|
|
function _isNativeReflectConstruct() {
|
|
try {
|
|
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
} catch (_) {}
|
|
return (exports.default = _isNativeReflectConstruct = function () {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
//# sourceMappingURL=isNativeReflectConstruct.js.map
|