This is an old revision of the document!
This is a summarized form of the JavaScript Tutorial.
For reference JavaScript specifications can be found here .
var mycars=new Array("Saab","Volvo","BMW");
function intSort (a, b){ return a - b;}
function setCookie(c_name,value,expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : ";expires="+exdate.toGMTString()); }