Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mypalmike
on Nov 19, 2021
|
parent
|
context
|
favorite
| on:
Where is Ruby Headed in 2021?
My favorite recent discovery is calling a js function with too many or too few parameters. It'll just go ahead and do it.
phyrex
on Nov 19, 2021
[–]
There’s an implicit “arguments” function argument through which you can access the extra parameters. It’s JSs way of function overloading
tonyedgecombe
on Nov 19, 2021
|
parent
[–]
Which looks like an array but isn't.
phyrex
on Nov 19, 2021
|
root
|
parent
[–]
There’s a lot of that kind of thing in JS, isn’t there? :(
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: