Variables


var varData = data; 
var varName = "Smith"
var varAge = 26;
var isOdd = false;



Global scope

For global scope just leave off the var
varData = "smith"



© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext