mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibJS: Add the CreateMappedArgumentsObject abstract operation
This patch adds a new ArgumentsObject class to represent what the spec calls "Arguments Exotic Objects" These are constructed by the new CreateMappedArgumentsObject when the `arguments` identifier is resolved in a callee context. The implementation is incomplete and doesn't yet support mapping of the parameter variables to the indexed properties of `arguments`.
This commit is contained in:
parent
a55cf08ef9
commit
2d4eb40f59
8 changed files with 95 additions and 10 deletions
|
@ -26,6 +26,7 @@ set(SOURCES
|
|||
Runtime/AggregateError.cpp
|
||||
Runtime/AggregateErrorConstructor.cpp
|
||||
Runtime/AggregateErrorPrototype.cpp
|
||||
Runtime/ArgumentsObject.cpp
|
||||
Runtime/Array.cpp
|
||||
Runtime/ArrayBuffer.cpp
|
||||
Runtime/ArrayBufferConstructor.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue