Javascript/Ajax/JQuery, Node.js

Scope In JavaScript

Many a times we get confused with scope in JavaScript, So here I am going to put some light on scope. There are two types of scope in JavaScript. First one is, function scope which is also called as local scope, and second one is global scope. Function Scope: In JavaScript, variables are defined with function scope instead of block...

by Amit Kumar
Tag: global
04-Feb-2014