Thursday, May 26, 2011

Variables

A variable holds a value and can be accessed from anywhere in the JavaScript coding. Their values can be changed for the page session, and can be used in many cases. Because it is useful to study JavaScript before studying TheMadScript, you should already know this.

Browser support: all
TheMadScript version: 2.0.0

Syntax: v.variablename=value

Keep in mind that any variable, whatever you do with it, wherever it is, must always start with "v.".

No comments:

Post a Comment