On Tue, 26 Apr 2011 21:31:16 +0200, Poetro wrote:
2011/4/26 Lasse Reichstein :
In Javascript you can create functions with free variables that aren't
defined
anywhere (yet), because the scope chain is mutable.
In JavaScript there is thing called hoisting, so ever variable that is
defined i
2011/4/26 Lasse Reichstein :
> In Javascript you can create functions with free variables that aren't defined
> anywhere (yet), because the scope chain is mutable.
In JavaScript there is thing called hoisting, so ever variable that is
defined in the function will be defined at the begining of the
On Tue, 26 Apr 2011 17:48:45 +0200, Nick Morgan
wrote:
Hi all
I've written a new post on my blog, "Closures explained with JavaScript".
http://skilldrick.co.uk/2011/04/closures-explained-with-javascript/
Mentioning it here for two reasons
(a) to help the mentees understand this crucial (an
Thanks! I'd just been watching some SICP videos when I came up with
the idea for the post, so I had that kind of explanation on my mind
(but I wanted to make it accessible).
Nick
On 26 April 2011 19:47, Peter van der Zee wrote:
> On Tue, Apr 26, 2011 at 10:48 AM, Nick Morgan wrote:
>>
>> Hi all
On Tue, Apr 26, 2011 at 10:48 AM, Nick Morgan wrote:
> Hi all
>
> I've written a new post on my blog, "Closures explained with JavaScript".
> http://skilldrick.co.uk/2011/04/closures-explained-with-javascript/
>
> Mentioning it here for two reasons
>
> (a) to help the mentees understand this cruc
Hi all
I've written a new post on my blog, "Closures explained with JavaScript".
http://skilldrick.co.uk/2011/04/closures-explained-with-javascript/
Mentioning it here for two reasons
(a) to help the mentees understand this crucial (and often confusing)
aspect of JS, and
(b) to ask the mentors i