JavaScript: Difference between revisions

Content deleted Content added
Genhuan (talk | contribs)
Osoviejo (talk | contribs)
Line 149:
}
var inc = displayClosure();
inc(); // returns 0
inc(); // returns 1
inc(); // returns 2
inc(); // returns 03
</syntaxhighlight>