JavaScript is an Object Oriented Programming Language.
Objects have properties and methods.
String objects have a length property and methods including: indexOf, match, replace
new Date() creates a Date object (with today's date).
Date objects include methods: getTime(epoch), setFullYear, toUTCString, getDay, getHours
Date objects can be compared using <, > .
To declare an array
var mycars=new Array("Saab","Volvo","BMW");
Arrays have methods including: sort, concat, join.
To sort an integer array, must use a function
function intSort (a, b){ return a - b;}
The Math object contains common math routines: round, random, e, pi etc.