mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibJS: Rename abstract_eq() to is_loosely_equal()
This got turned into a proper AO with a new name recently.
See: c7d6d1c
This commit is contained in:
parent
c7ff89891c
commit
580a7e0f7c
Notes:
sideshowbarker
2024-07-18 03:30:35 +09:00
Author: https://github.com/linusg
Commit: 580a7e0f7c
Pull-request: https://github.com/SerenityOS/serenity/pull/10191
Reviewed-by: https://github.com/awesomekling ✅
4 changed files with 14 additions and 14 deletions
|
@ -660,9 +660,9 @@ Value BinaryExpression::execute(Interpreter& interpreter, GlobalObject& global_o
|
|||
case BinaryOp::TypedInequals:
|
||||
return Value(!is_strictly_equal(lhs_result, rhs_result));
|
||||
case BinaryOp::AbstractEquals:
|
||||
return Value(abstract_eq(global_object, lhs_result, rhs_result));
|
||||
return Value(is_loosely_equal(global_object, lhs_result, rhs_result));
|
||||
case BinaryOp::AbstractInequals:
|
||||
return Value(!abstract_eq(global_object, lhs_result, rhs_result));
|
||||
return Value(!is_loosely_equal(global_object, lhs_result, rhs_result));
|
||||
case BinaryOp::GreaterThan:
|
||||
return greater_than(global_object, lhs_result, rhs_result);
|
||||
case BinaryOp::GreaterThanEquals:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue