Share this post! | Vote this! |
|
A variable's purpose is to store information so that it can be used
later. A variable is a name, or identifier, that represents some data
that you set. The name wraps up the data so you can move it around a lot
easier, but the name is not the data! A variable's value can change
during the script. You can refer to a variable by name to see its value
or to change its value.
JavaScript is an untyped language. This means that JavaScript variables can hold data of any valid type. It takes its type from the data type of what it is holding. You cannot declare a type for variables in JavaScript. more...
JavaScript is an untyped language. This means that JavaScript variables can hold data of any valid type. It takes its type from the data type of what it is holding. You cannot declare a type for variables in JavaScript. more...
0 comments:
Post a Comment