Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
phyrex
· 5y ago · 0 comments
There’s an implicit “arguments” function argument through which you can access the extra parameters. It’s JSs way of function overloading
Comments
[–]
tonyedgecombe
5y ago
Which looks like an array but isn't.
[–]
phyrex
OP
5y ago
There’s a lot of that kind of thing in JS, isn’t there? :(