showing results for what does var stand for in javascript
1Used to create a variable that is globally scoped when not used in a function.
2When it is used in a function, itcanonlybeusedinthatfunctionandnot3outsideofit. Thisstatementiscomparabletoletbutmoreglobalized.