NOTE: All images from Jonas Schmedtmann's The Complete Javascript Course 2020
arguments
Keyword
- it's not used that much in modern JS, but it's still good to know about it
- regular functions, like
addExpr
get anarguments
keyword and arrow functions don't (just like with thethis
keyword) - it is completely valid to add more arguments than there are parameters, they are just unnamed
- arrow functions, like
addArrow
do not have thearguments
keyword