This link has been bookmarked by 192 people . It was first bookmarked on 29 Jul 2006, by Jürgen R Plasser.
-
20 Jan 12
Pablo MendozaVarios ejemplos de código que pueden ayudar a comprender mejor closures de javascript :P
-
14 Jan 12
-
Whenever you use function inside another function, a closure is used.
-
A closure in JavaScript is like keeping a copy of the all the local variables, just as they were when a function exited.
-
It is probably best to think that a closure is always created just on entry to a function, and the local variables are added to that closure.
-
-
08 Jan 12
-
26 Dec 11
-
01 Nov 11
-
24 Oct 11
-
20 Oct 11
-
12 Oct 11
-
10 Sep 11
-
03 Sep 11
-
19 Jul 11
-
17 May 11
-
27 Apr 11
-
31 Mar 11
-
30 Mar 11
-
23 Dec 10
-
03 Oct 09
-
10 Jul 09
-
18 Jun 09
-
12 Jun 09
-
11 May 09
-
08 May 09
-
06 May 09
-
09 Apr 09
-
24 Mar 09
-
10 Mar 09
-
17 Feb 09
-
04 Feb 09
-
26 Jan 09
-
04 Jan 09
-
28 Nov 08
-
17 Oct 08
-
21 Sep 08
-
09 Sep 08
-
26 Aug 08
-
25 Aug 08
-
20 Aug 08
-
31 Jul 08
-
20 May 08
-
14 May 08
-
07 Apr 08
-
21 Mar 08
-
20 Mar 08
-
23 Feb 08
-
16 Feb 08
-
11 Feb 08
Fabio de MirandaIn JavaScript, if you use the function keyword inside another
function, you are creating a closure.
If you declare a function within another function, then the local
variables can remain accessable after returning from the function you
called. -
08 Feb 08
-
17 Jan 08
-
12 Jan 08
-
11 Jan 08
-
10 Jan 08
-
Nicolas PerriaultThis page explains closures so that a programmer can understand them - using working JavaScript code. It is not for gurus nor functional programmers.
-
06 Jan 08
-
04 Dec 07
-
29 Nov 07
-
20 Nov 07
-
15 Nov 07
-
12 Nov 07
-
01 Nov 07
Guillem Mateuion is returned to a variable in the above code. If you don't, then you need to before you can learn closures. A C programmer would think of the function as returning a pointer to a function, and that the variables sayAlert and say2 wer
-
Guillem Mascaróion is returned to a variable in the above code. If you don't, then you need to before you can learn closures. A C programmer would think of the function as returning a pointer to a function, and that the variables sayAlert and say2 wer
-
14 Oct 07
-
19 Sep 07
-
29 Aug 07
j dThis is a great explanation of closures in Javascript. It needs to be read at least a couple times.
code javascript closures programming ajax tutorial delicious
-
24 Aug 07
-
17 Aug 07
-
30 Jul 07
-
16 Jul 07
-
11 Jul 07
-
08 Jul 07
-
30 Apr 07
-
23 Apr 07
-
29 Mar 07
-
13 Feb 07
-
31 Jan 07
-
17 Jan 07
-
11 Jan 07
huangyuching也是一篇介紹 javascript closure 的文章
-
22 Dec 06
-
15 Dec 06
-
22 Nov 06
Mikael Gyde MøllerClosures are not hard to understand once the core concept is grokked. However, they are impossible to understand by reading any academic papers or academically oriented information about them!
This article is intended for programmers with some programmin -
18 Nov 06
-
14 Nov 06
-
09 Nov 06
-
02 Nov 06
-
26 Oct 06
-
13 Oct 06
-
10 Oct 06
Ivan RiveraThis page explains closures so that a programmer can understand them - using working JavaScript code. It is not for gurus nor functional programmers.
** javascript closures programming tutorial howto development webdev Tutorials
-
riveraivanThis page explains closures so that a programmer can understand them - using working JavaScript code. It is not for gurus nor functional programmers.
** javascript closures programming tutorial howto development webdev Tutorials
-
03 Oct 06
phershA great tutorial for the mid-level programmer on an important programming concept.
-
01 Oct 06
-
27 Sep 06
-
22 Sep 06
-
19 Sep 06
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.