Every browser has a built-in console where you can run JavaScript instantly. Open it by pressing F12 (or Cmd+Option+J on Mac) and clicking the Console tab.
The console is your playground for testing code. Type any JavaScript expression and press Enter to see the result. Try typing and pressing Enter. You'll see appear immediately. This instant feedback makes the console perfect for learning.