Files
ladybird/Libraries/LibJS/Runtime/ScriptFunction.cpp
Matthew Olsson 838390171c LibJS: Function.length respects default and rest parameters
"[Function.length is] the number of formal parameters. This number
excludes the rest parameter and only includes parameters before
the first one with a default value." - MDN
2020-05-06 17:40:56 +02:00

5.6 KiB