JavaScript provides the keyword null for representing no value.
<HTML><BODY><SCRIPT language="JavaScript"><!--var myVariable=null;document.write(myVariable);//--></SCRIPT></BODY></HTML>