Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var x;
- document.writeln(x);
- document.writeln("<br>");
- var y = 7;
- document.writeln(typeof y);
- document.writeln("<br>")
- var z = "Hello"
- document.writeln(typeof z);
- document.writeln("<br>")
- var q = true;
- document.writeln(typeof q)
- document.writeln("<br>")
- var n = null;
- document.writeln(typeof n)
- document.writeln("<br>")
- document.writeln(typeof 3);
- document.writeln("<br>")
- document.writeln(typeof ("Hello" + 3))
- document.writeln("<br>")
- document.writeln(typeof("Hello" + (3 + 2)))
- document.writeln("<br>")
- document.writeln(typeof (y++))
- document.writeln("<br>")
- document.writeln(y = 19)
- document.writeln("<br>")
- document.writeln(typeof (y = 19))
- document.writeln("<br>")
- document.writeln(typeof (y = 19))
- document.writeln("<br>")
- if(5)
- document.writeln("Is 5")
- else
- document.writeln("Isn't 5")
- document.writeln("<br>")
- x = 0
- if(x = 0)
- document.writeln(x + " Is 0")
- else
- document.writeln(x + " Isn't 0")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement