Skip to content

Commit

Permalink
Update src/bun.js/bindings/bindings.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan Conway <[email protected]>
  • Loading branch information
DonIsaac and dylan-conway authored Feb 5, 2025
1 parent becf63d commit 176552f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.js/bindings/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ std::optional<bool> specialObjectsDequal(JSC__JSGlobalObject* globalObject, Mark
// `.cause` is non-enumerable, so it must be checked explicitly.
// note that an undefined cause is different than a missing cause in
// strict mode.
const Identifier causeIdent = Identifier::fromLatin1(vm, "cause");
const Identifier causeIdent = Identifier::fromString(vm, "cause"_s);
const PropertyName cause(causeIdent);
if constexpr (isStrict) {
if (left->hasProperty(globalObject, cause) != right->hasProperty(globalObject, cause)) {
Expand Down

0 comments on commit 176552f

Please sign in to comment.