JavaScript Variable Introduction

Javascript variables is a key to an object of data. Variable is defined using 'var' keyword and JavaScript variables are case sensetive, so 'key' and 'Key' are two different variables.


Other examples in Variables (JavaScript tutorial)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0