mirror of
https://github.com/oven-sh/bun
synced 2026-02-17 06:12:08 +00:00
.
This commit is contained in:
6
repro.js
6
repro.js
@@ -1 +1,5 @@
|
||||
console.log(Bun.deepEquals(Object(Symbol()), Object(Symbol())));
|
||||
const str1 = Object("abc");
|
||||
const str2 = Object("abc");
|
||||
str2.slow = true;
|
||||
|
||||
console.log(Bun.deepEquals(str1, str2)); // should be 'false'
|
||||
|
||||
@@ -31,7 +31,7 @@ function notUtilIsDeepStrict(a, b) {
|
||||
utilIsDeepStrict(Object(2), Object(2));
|
||||
utilIsDeepStrict(boxedString, Object('test'));
|
||||
boxedString.slow = true;
|
||||
// notUtilIsDeepStrict(boxedString, Object('test')); // TODO
|
||||
notUtilIsDeepStrict(boxedString, Object('test'));
|
||||
boxedSymbol.slow = true;
|
||||
notUtilIsDeepStrict(boxedSymbol, {});
|
||||
utilIsDeepStrict(Object(BigInt(1)), Object(BigInt(1)));
|
||||
|
||||
Reference in New Issue
Block a user