1. var x-0; typeof(x);
2.prompt dialog box:
var retVal = prompt("Enter your name : ", "your name here");
alert("You have entered : " + retVal );
3.void
<head>
<script type="text/javascript">
<!--
void func()
javascript:void func()
or:
void(func())
javascript:void(func())
//-->
</script>
</head>
4.
window.print();
5.
document.cookie = "key1=value1;key2=value2;expires=date";