Changes

Jump to: navigation, search

JavaScript Variable Types

467 bytes added, 20:00, 11 April 2007
no edit summary
<tr>
<td>number<td>1, -31, 0.023<td>The ''number'' variable holds any type of number, either an integer or a real number.</td>
<tr>
<td>string<td>"Hello World!"<td>The ''string'' variable type stores a string of characters, typically making up either a word or sentence. ''string'' variables can also be assigned empty strings.
<tr>
<td>function<td>any user defined function<td>A function is one of the basic building blocks of most programming languages including JavaScript. Functions are used to break up a script into clean, reusable modules. Functions are covered in a later chapter.</td>
</table>

Navigation menu