JS has some issues, but it's got a lot of really cool features. It's got closures, an eval function [so you can do
eval("somefunc()")
or
eval("3+5")
and it will evaluate that command.]
It's a little Ruby-like in that it draws on a lot of language idioms. It has objects, yet it has some functional seasoning thrown it.
And that functional seasoning is used a lot with the frameworks like jQuery or even Ubiquity, the firefox extension. Both of them make heavy use of being able to just pass "function(){ ... code ... }" as parameters.
It may have some issues, but it has a lot of power and extensibility too.
It's a little Ruby-like in that it draws on a lot of language idioms. It has objects, yet it has some functional seasoning thrown it.
And that functional seasoning is used a lot with the frameworks like jQuery or even Ubiquity, the firefox extension. Both of them make heavy use of being able to just pass "function(){ ... code ... }" as parameters.
It may have some issues, but it has a lot of power and extensibility too.