JavaScript Basics
Link to external Javscript file
<head>
<title>Test</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<script src="spectra.js" type="text/javascript" ></script>
</head>
Types
string, number, boolean, null, undefined, object
Use typeof some_var to get the type.
The following are considered false: false, 0, "", null, undefined, NaN