console.log(Math.log2(3)); // Expected output: 1.584962500721156 console.log(Math.log2(2)); // Expected output: 1 console.log(Math.log2(1)); // Expected output: 0 console.log(Math.log2(0)); // Expected output: -Infinity