mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +00:00
LibJS: Add an accessor for the %Date.now% instrinsic property
This commit is contained in:
parent
baf3f3bd6e
commit
4cc8cf9233
Notes:
sideshowbarker
2024-07-17 23:04:57 +09:00
Author: https://github.com/trflynn89
Commit: 4cc8cf9233
Pull-request: https://github.com/SerenityOS/serenity/pull/11184
2 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
AsyncFromSyncIteratorPrototype* async_from_sync_iterator_prototype() { return m_async_from_sync_iterator_prototype; }
|
||||
|
||||
FunctionObject* array_prototype_values_function() const { return m_array_prototype_values_function; }
|
||||
FunctionObject* date_constructor_now_function() const { return m_date_constructor_now_function; }
|
||||
FunctionObject* eval_function() const { return m_eval_function; }
|
||||
FunctionObject* throw_type_error_function() const { return m_throw_type_error_function; }
|
||||
|
||||
|
@ -105,6 +106,7 @@ private:
|
|||
AsyncFromSyncIteratorPrototype* m_async_from_sync_iterator_prototype { nullptr };
|
||||
|
||||
FunctionObject* m_array_prototype_values_function { nullptr };
|
||||
FunctionObject* m_date_constructor_now_function { nullptr };
|
||||
FunctionObject* m_eval_function { nullptr };
|
||||
FunctionObject* m_throw_type_error_function { nullptr };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue