Initial Commit

This commit is contained in:
2024-06-06 22:09:02 -04:00
commit 45c85cebef
1017 changed files with 980228 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
'use strict';
var test = {
__proto__: null,
foo: {}
};
var $Object = Object;
/** @type {import('.')} */
module.exports = function hasProto() {
// @ts-expect-error: TS errors on an inherited property for some reason
return { __proto__: test }.foo === test.foo
&& !(test instanceof $Object);
};