JSFiddle - React, Tailwind, and code Playground

by CommandLineDesign

JavaScript

var i = 1; 
var j = 0;
var k = (Math.pow(i, j) + Math.pow(!i, j) + Math.pow(i, !j) + Math.pow(!i, !j))
console.log(k);