aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGlobalObject.cpp
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2022-12-01 19:36:47 -0800
committerGravatar GitHub <noreply@github.com> 2022-12-01 19:36:47 -0800
commit92da72beb03dd686209428fcd0951b57d41e854c (patch)
tree3173a7671637c45d1456210eae519da8381b59c1 /src/bun.js/bindings/ZigGlobalObject.cpp
parenta896d6c46c5a2ed6cf28c885d3077df972e7be43 (diff)
downloadbun-92da72beb03dd686209428fcd0951b57d41e854c.tar.gz
bun-92da72beb03dd686209428fcd0951b57d41e854c.tar.zst
bun-92da72beb03dd686209428fcd0951b57d41e854c.zip
bun test `toStrictEqual` (#1568)
* toStrictEqual and bug fix in deepEqual * rebase Remove some dead bindings code * remove debugging test * canGetIndexQuickly for array holes * isStrict template Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.cpp')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.cpp b/src/bun.js/bindings/ZigGlobalObject.cpp
index bcb42dc29..50a07f06e 100644
--- a/src/bun.js/bindings/ZigGlobalObject.cpp
+++ b/src/bun.js/bindings/ZigGlobalObject.cpp
@@ -1803,7 +1803,7 @@ JSC_DEFINE_HOST_FUNCTION(functionBunDeepEquals, (JSGlobalObject * globalObject,
Vector<std::pair<JSValue, JSValue>, 16> stack;
- bool isEqual = Bun__deepEquals(globalObject, arg1, arg2, stack, &scope, true);
+ bool isEqual = Bun__deepEquals<false>(globalObject, arg1, arg2, stack, &scope, true);
RETURN_IF_EXCEPTION(scope, {});
return JSValue::encode(jsBoolean(isEqual));
}