1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

LibJS: Add missing spec links

This commit is contained in:
Linus Groh 2021-08-08 11:04:30 +01:00
parent 0e21bf0f23
commit 16c38788c3
10 changed files with 12 additions and 12 deletions

View file

@ -300,7 +300,7 @@ double constrain_to_range(double x, double minimum, double maximum)
return min(max(x, minimum), maximum);
}
// 13.32 RoundNumberToIncrement ( x, increment, roundingMode )
// 13.32 RoundNumberToIncrement ( x, increment, roundingMode ), https://tc39.es/proposal-temporal/#sec-temporal-roundnumbertoincrement
BigInt* round_number_to_increment(GlobalObject& global_object, BigInt const& x, u64 increment, String const& rounding_mode)
{
auto& heap = global_object.heap();