>it's got so much stuff like this that makes it so unfriendly to newbies
what's another one?
what's another one?
That's just one example of things in JavaScript that are poorly named for people to guess what they do.
Now, explaining Ruby's collect/detect/inject/select/reject, that's a whole different matter...
Automatically creating a variable (with global scope) if you attempt to use a variable that doesn't exist.
Semicolons are optional, except when they aren't.
== and === (at minimum they should be reversed)
I just tested this as I think you're describing & it didn't create a global var. Could you give an example?