mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibJS: Update order of parameters in our is_less_than implementation
This change updates the parameter order of the is_less_than function signature and calls to match accordingly with the spec (https://tc39.es/ecma262/#sec-islessthan)
This commit is contained in:
parent
4e21835e70
commit
3d99e83a86
3 changed files with 8 additions and 9 deletions
|
@ -429,7 +429,7 @@ bool is_strictly_equal(Value lhs, Value rhs);
|
|||
bool same_value(Value lhs, Value rhs);
|
||||
bool same_value_zero(Value lhs, Value rhs);
|
||||
bool same_value_non_numeric(Value lhs, Value rhs);
|
||||
ThrowCompletionOr<TriState> is_less_than(GlobalObject&, bool left_first, Value lhs, Value rhs);
|
||||
ThrowCompletionOr<TriState> is_less_than(GlobalObject&, Value lhs, Value rhs, bool left_first);
|
||||
|
||||
double to_integer_or_infinity(double);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue