15 lines
275 B
JavaScript
15 lines
275 B
JavaScript
|
"use strict";
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
exports.default = supportsProtoAssignment;
|
||
|
var x = {};
|
||
|
var y = { supports: true };
|
||
|
try {
|
||
|
x.__proto__ = y;
|
||
|
} catch (err) {}
|
||
|
|
||
|
function supportsProtoAssignment() {
|
||
|
return x.supports || false;
|
||
|
};
|