mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibJS: Make default_merge_fields() {additional_,}fields Object a const&
This only calls Object::{get,enumerable_own_property_names}() on the fields and additional_fields Objects, both of which are const-qualified.
This commit is contained in:
parent
4bba61fd59
commit
4e5becf36e
2 changed files with 2 additions and 2 deletions
|
@ -1034,7 +1034,7 @@ u8 iso_day(Object& temporal_object)
|
|||
}
|
||||
|
||||
// 12.1.45 DefaultMergeFields ( fields, additionalFields ), https://tc39.es/proposal-temporal/#sec-temporal-defaultmergefields
|
||||
Object* default_merge_fields(GlobalObject& global_object, Object& fields, Object& additional_fields)
|
||||
Object* default_merge_fields(GlobalObject& global_object, Object const& fields, Object const& additional_fields)
|
||||
{
|
||||
auto& vm = global_object.vm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue