mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
LibJS: Implement default values for function parameters in BC
This commit is contained in:
parent
0b8d2fb62f
commit
d75cf27e02
Notes:
sideshowbarker
2024-07-17 17:26:27 +09:00
Author: https://github.com/alimpfard
Commit: d75cf27e02
Pull-request: https://github.com/SerenityOS/serenity/pull/13049
2 changed files with 40 additions and 16 deletions
|
@ -109,6 +109,7 @@ private:
|
|||
|
||||
FlyString m_name;
|
||||
OwnPtr<Bytecode::Executable> m_bytecode_executable;
|
||||
Vector<OwnPtr<Bytecode::Executable>> m_default_parameter_bytecode_executables;
|
||||
i32 m_function_length { 0 };
|
||||
|
||||
// Internal Slots of ECMAScript Function Objects, https://tc39.es/ecma262/#table-internal-slots-of-ecmascript-function-objects
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue