mirror of
https://github.com/RGBCube/serenity
synced 2025-07-01 11:12:07 +00:00
LibJS: Implement default values for function parameters in BC
This commit is contained in:
parent
0b8d2fb62f
commit
d75cf27e02
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