<!DOCTYPE html>
<html>

  <body>
    <!-- // make console.log write to the page for better in-browser experience -->
    <script>
      (function () {
        var body = document.querySelector('body');
        body.style['fontFamily'] = 'monospace';
        body.style['fontSize'] = '2em';
        console.log = function (x) { body.innerText += x + '\n'; };
      }());
    </script>
    <script src="lib/script.js"></script>
  </body>

</html>
/* Add your styles here */

let x = 2;
let y = 5;

let z = x ** y; //x^y

// 2^5 = 32.
console.log(z);

z = Math.pow(x, y); // x^y;

console.log(z);


console.log(3 ** 0);

console.log(3 ** NaN);

console.log(NaN ** NaN);

console.log(NaN ** 0);

console.log(0 ** NaN);

console.log(0 ** 0);