First commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
"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;
|
||||
};
|
||||
Reference in New Issue
Block a user