mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
LibJS: Make resolve_iso_month() fields Object a const&
This only calls Object::get() on the fields Object, which is const-qualified.
This commit is contained in:
parent
1f99538185
commit
4bba61fd59
2 changed files with 2 additions and 2 deletions
|
@ -732,7 +732,7 @@ String build_iso_month_code(u8 month)
|
|||
}
|
||||
|
||||
// 12.1.37 ResolveISOMonth ( fields ), https://tc39.es/proposal-temporal/#sec-temporal-resolveisomonth
|
||||
double resolve_iso_month(GlobalObject& global_object, Object& fields)
|
||||
double resolve_iso_month(GlobalObject& global_object, Object const& fields)
|
||||
{
|
||||
auto& vm = global_object.vm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue