document.writeln("5 + 5 = " + (5+5));
Output:document.writeln("5 - 5 = " + (5-5));
Output:document.writeln("5 * 5 = " + (5*5));
Output:document.writeln("5 / 5 = " + (5/5));
Output:document.writeln("5 % 5 = " + (5%5));
Output:document.writeln(typeof 38);
document.writeln(typeof true);
document.writeln(typeof undeclaredvariable)
document.writeln(typeof "hello");
var x = {firstName:"John", lastName:"Doe"};
document.writeln(typeof x);
document.writeln(5 > 4);
document.writeln(5 < 4);
document.writeln(5 == 5);
document.writeln(5 != 5);
document.writeln(5 === 5);
document.writeln(5 === "5");
document.writeln(5 == "5");
document.writeln(5 !== 5);
document.writeln((5 > 4) && (2 < 3));
document.writeln((5 > 4) && (2 < 1));
document.writeln((5 > 4) || (2 < 1));