mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
LibJS: Improve const-correctness of CalendarDateUntil
This commit is contained in:
parent
23c5a7a0a3
commit
a372a16b2c
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ ThrowCompletionOr<PlainDate*> calendar_date_add(VM& vm, Object& calendar, Value
|
|||
}
|
||||
|
||||
// 12.2.7 CalendarDateUntil ( calendar, one, two, options [ , dateUntil ] ), https://tc39.es/proposal-temporal/#sec-temporal-calendardateuntil
|
||||
ThrowCompletionOr<Duration*> calendar_date_until(VM& vm, Object& calendar, Value one, Value two, Object& options, FunctionObject* date_until)
|
||||
ThrowCompletionOr<Duration*> calendar_date_until(VM& vm, Object const& calendar, Value one, Value two, Object const& options, FunctionObject const* date_until)
|
||||
{
|
||||
// 1. Assert: Type(calendar) is Object.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue