mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibJS: Implement Temporal.Now.plainDate()
...and ten required AOs we didn't have yet: - BalanceISODate - BalanceISODateTime - BalanceISOYearMonth - BalanceTime - BuiltinTimeZoneGetPlainDateTimeFor - GetISOPartsFromEpoch - GetOffsetNanosecondsFor - ParseTemporalTimeZone - SystemDateTime - ToTemporalTimeZone
This commit is contained in:
@@ -240,6 +240,7 @@ void GlobalObject::initialize_global_object()
|
||||
|
||||
m_array_prototype_values_function = &m_array_prototype->get_without_side_effects(vm.names.values).as_function();
|
||||
m_eval_function = &get_without_side_effects(vm.names.eval).as_function();
|
||||
m_temporal_time_zone_prototype_get_offset_nanoseconds_for_function = &m_temporal_time_zone_prototype->get_without_side_effects(vm.names.getOffsetNanosecondsFor).as_function();
|
||||
}
|
||||
|
||||
GlobalObject::~GlobalObject()
|
||||
@@ -258,6 +259,7 @@ void GlobalObject::visit_edges(Visitor& visitor)
|
||||
visitor.visit(m_environment);
|
||||
visitor.visit(m_array_prototype_values_function);
|
||||
visitor.visit(m_eval_function);
|
||||
visitor.visit(m_temporal_time_zone_prototype_get_offset_nanoseconds_for_function);
|
||||
visitor.visit(m_throw_type_error_function);
|
||||
|
||||
#define __JS_ENUMERATE(ClassName, snake_name, PrototypeName, ConstructorName, ArrayType) \
|
||||
|
||||
Reference in New Issue
Block a user