This commit is contained in:
fencl
2024-01-02 12:56:43 +01:00
parent 11f54265c4
commit 386622df5d
1489 changed files with 196315 additions and 0 deletions

11
has-proto/index.js Normal file
View File

@@ -0,0 +1,11 @@
'use strict';
var test = {
foo: {}
};
var $Object = Object;
module.exports = function hasProto() {
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
};