Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quickthrower2
· 8y ago · 0 comments
-
Comments
[–]
adambrenecki
8y ago
'a' and 'm' are assigned to in the body of the function. Having them as arguments that aren't provided (and thus initially set to undefined) just ensures that they can be assigned to without 'var', saving a character or two.
[–]
jonatanheyman
8y ago
JavaScript doesn't break if you don't supply all arguments in a function call.