Files
serenity/Libraries/LibJS/Runtime/ScriptFunction.cpp
Matthew Olsson dc9b4da66f LibJS: Add function default arguments
Adds the ability for function arguments to have default values. This
works for standard functions as well as arrow functions. Default values
are not printed in a <function>.toString() call, as nodes cannot print
their source string representation.
2020-05-02 11:56:56 -07:00

5.1 KiB