Note. You can also bring up an interactive JavaScript console in Chrome from 'View' -> 'Developer' -> 'JavaScript Console'.

console.log("Hello World");

    
Hint: Alternatively, just hold "shift" and press "enter" to run your code.