Skip to content

Commit

Permalink
Fix typo in QjsLocalReference.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
jrpat committed Feb 23, 2022
1 parent 3379134 commit 96840f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/QuickJs/QjsLocalReference.cc
Expand Up @@ -209,7 +209,7 @@ bool Local<Value>::operator==(const script::Local<script::Value>& other) const {
auto context = engine.context_;
#ifdef QUICK_JS_HAS_SCRIPTX_PATCH
return JS_StrictEqual(context, val_, qjs_interop::peekLocal(other));
#elif
#else
auto fun = qjs_interop::makeLocal<Function>(
qjs_backend::dupValue(engine.helperFunctionStrictEqual_, context));
return fun.call({}, *this, other).asBoolean().value();
Expand Down

0 comments on commit 96840f4

Please sign in to comment.