<script type="text/javascript"> 'use strict' </script>
<script type="text/javascript"> console.log("5+3 = ", 5+3); console.log("5/3 = ", 5/3); console.log("5%3 = ", 5%3); console.log("0/0 = ", 0/0); </script>
<script type="text/javascript"> console.log ("Hello World"); console.log ('This is Dan\'s string'); console.log ("This is Dan's string"); console.log ('See, I can put "quotes" in a string'); console.log ("A\ncouple\nof\nlines\n"); console.log(`The sum of 3 and 2 is ${3+2}`); console.log("But it is also "+(3+2)); </script>
<script type="text/javascript"> let i = 1; let j = "1"; let k = 31; console.log("i = " , i); console.log("j = " , j); console.log("k = " , k); console.log("i == j " , i == j); console.log("i === j " , i === j); console.log("j == k " , k == k); console.log("j === k " , k === k); </script>
<script type="text/javascript"> let notUsed; console.log("notUsed === undefined", notUsed === undefined); console.log("notUsed is of type ",typeof(notUsed)); console.log("i is of type ", typeof(i)); console.log("j is of type ", typeof(j)); console.log("k is of type ", typeof(k)); console.log("true is of type ", typeof(true)); </script>