From: Urabe Shyouhei Date: 2010-10-05T22:02:11+09:00 Subject: Re: how can we make a ruby compiler (2010/10/05 21:31), Samuel Williams wrote: > For example, in most of those languages, the name of a function is specified explicitly and can't change due to the environment or scope of execution. Oh yes they can. For instance: > rhino Rhino 1.7 release 2 2010 01 20 js> foo = { foo: function() { this.foo = function () { return "bar" }; return "foo"; } }; [object Object] js> foo.foo(); foo js> foo.foo(); bar