Browse by Tags

Tagged Content List
  • Blog Post: Closures ??

    A disclaimer first: This post will make sense to you only if you have read and understood my post on lexical scoping in JavaScript . And if you have read my post then i don’t have much to explain here. Now, since JavaScript is lexically scoped, the following script is perfectly valid: function localise...
  • Blog Post: Lexical scoping

    I was planning to post a write up on closures in javascript but it made sense to first introduce you to concept of lexical scoping (or static scoping). In JavaScript, functions have lexical scope. This means that functions create their environment (scope) when they are defined, not when they are executed...
Page 1 of 1 (2 items)