1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +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:
Linus Groh 2021-09-23 23:46:36 +02:00
parent c7ff89891c
commit 580a7e0f7c
4 changed files with 14 additions and 14 deletions

View file

@ -57,12 +57,12 @@ void Store::execute_impl(Bytecode::Interpreter& interpreter) const
static Value abstract_inequals(GlobalObject& global_object, Value src1, Value src2)
{
return Value(!abstract_eq(global_object, src1, src2));
return Value(!is_loosely_equal(global_object, src1, src2));
}
static Value abstract_equals(GlobalObject& global_object, Value src1, Value src2)
{
return Value(abstract_eq(global_object, src1, src2));
return Value(is_loosely_equal(global_object, src1, src2));
}
static Value typed_inequals(GlobalObject&, Value src1, Value src2)