mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
LibJS: Rename abstract_eq() to is_loosely_equal()
This got turned into a proper AO with a new name recently. See: https://github.com/tc39/ecma262/commit/c7d6d1c
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user