JavaScript Introductions
JavaScript Introductions
• the above could be the contents of example.js linked to our HTML page
• statements placed into functions can be evaluated in response to user events
Special values: null and undefined
var ned = null;
var benson = 9;
var caroline;
output