Added length field to functions, except Getter which is always 0.
(Setter needs it since it can be 0 if it's default parameter, while it's most likely 1 :P )
function object's length is retrieved from the tagged AST node in ExpectedArgumentCount static semantics.
and it's verified after delazifying parameter, both for eager and lazy functions.
Added length field to functions, except Getter which is always 0. (Setter needs it since it can be 0 if it's default parameter, while it's most likely 1 :P )
function object's length is retrieved from the tagged AST node in ExpectedArgumentCount static semantics. and it's verified after delazifying parameter, both for eager and lazy functions.