|
@@ -85,7 +85,7 @@ struct SecondsStringPrecision {
|
|
|
|
|
|
MarkedValueList iterable_to_list_of_type(GlobalObject&, Value items, Vector<OptionType> const& element_types);
|
|
|
Object* get_options_object(GlobalObject&, Value options);
|
|
|
-Value get_option(GlobalObject&, Object& options, PropertyName const& property, Vector<OptionType> const& types, Vector<StringView> const& values, Value fallback);
|
|
|
+Value get_option(GlobalObject&, Object const& options, PropertyName const& property, Vector<OptionType> const& types, Vector<StringView> const& values, Value fallback);
|
|
|
template<typename NumberType>
|
|
|
Optional<Variant<String, NumberType>> get_string_or_number_option(GlobalObject&, Object& options, PropertyName const& property, Vector<StringView> const& string_values, NumberType minimum, NumberType maximum, Value fallback);
|
|
|
Optional<String> to_temporal_overflow(GlobalObject&, Object& normalized_options);
|