Hacker News new | past | comments | ask | show | jobs | submit login

My favorite recent discovery is calling a js function with too many or too few parameters. It'll just go ahead and do it.



There’s an implicit “arguments” function argument through which you can access the extra parameters. It’s JSs way of function overloading


Which looks like an array but isn't.


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: