mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
LibJS: Update missing/superfluous commas in various spec comments
These are editorial changes in the Temporal spec. See: -9586746
-3c76ecc
-96eab07
This commit is contained in:
parent
30328d74d0
commit
9b3602d000
5 changed files with 11 additions and 11 deletions
|
@ -204,7 +204,7 @@ ThrowCompletionOr<double> to_integer_without_rounding(GlobalObject& global_objec
|
|||
// 1. Let number be ? ToNumber(argument).
|
||||
auto number = TRY(argument.to_number(global_object));
|
||||
|
||||
// 2. If number is NaN, +0𝔽, or -0𝔽 return 0.
|
||||
// 2. If number is NaN, +0𝔽, or -0𝔽, return 0.
|
||||
if (number.is_nan() || number.is_positive_zero() || number.is_negative_zero())
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue