Java Reference
In-Depth Information
Chrome
View > Developer > JavaScript Console, or press
Command + Option + J
(Mac) or
Con-
trol + Shift + J
(Windows/Linux)
Safari
Press
Command + Option + I
Internet Explorer
Press
F12
to open the developer tools. Click the Console tab.
FireFox
Press
CTRL + SHIFT + K
to open the web console (on Windows) or
COMMAND +
SHIFT + K
(on Macs).
Alternatives
You could install the
Firebug add-on
, press
F12
to open Firebug, and click on the Console
tab.
Another option is to use the excellent
JS Console
website. This allows you to enter
JavaScript commands directly into the browser and see the results. I have used this console
to run most of the code snippets in this topic.