mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Rename strict_eq() to is_strictly_equal()
This got turned into a proper AO with a new name recently. See: https://github.com/tc39/ecma262/commit/19d7ca4
This commit is contained in:
@@ -67,12 +67,12 @@ static Value abstract_equals(GlobalObject& global_object, Value src1, Value src2
|
||||
|
||||
static Value typed_inequals(GlobalObject&, Value src1, Value src2)
|
||||
{
|
||||
return Value(!strict_eq(src1, src2));
|
||||
return Value(!is_strictly_equal(src1, src2));
|
||||
}
|
||||
|
||||
static Value typed_equals(GlobalObject&, Value src1, Value src2)
|
||||
{
|
||||
return Value(strict_eq(src1, src2));
|
||||
return Value(is_strictly_equal(src1, src2));
|
||||
}
|
||||
|
||||
#define JS_DEFINE_COMMON_BINARY_OP(OpTitleCase, op_snake_case) \
|
||||
|
||||
Reference in New Issue
Block a user