-
Notifications
You must be signed in to change notification settings - Fork 1
Javascript syntax
sinsunsan edited this page Oct 31, 2012
·
21 revisions
- var to define a variable with a local scope var i = 1; create the i variable and its value is only available the first time, it's set; This way there'll not be variable collabpse. If ommited the variable scope is global.