Save the code in bug.js Open your browser's developer console. Copy and paste the code into the console and press Enter. Observe the output.