Nicolas Alvarez wrote:
> JavaScript functions don't need names.
>
> var value = (function (x) {
> return 3*x + 5;
> })(42);
>
> That actually works.
Ooo... that's interesting.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|