JS: How to Use Browser Console

By Xah Lee. Date: . Last updated: .

A easy way to try JavaScript code is to use browser's JavaScript console, usually under a menu named Developer Tool.

chrome js console 2016-10-27
Google Chrome browser console.
safari turn on web console 2017 09 24 85788
in macOS Safari, to turn on web console, go to Safari Preferences, Advanced tab. Then, 【⌘ command+⌥ option+i】 to turn on web console.
firefox console 2018-08-25 b4dc7
Firefox console 2018-08-25

JavaScript Basics

  1. JavaScript Basics
  2. true, false
  3. Operators
  4. Branch Control
  5. Loop
  6. Array Basics
  7. Object Basics
  8. RegExp Basics
Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.

Web Dev Tutorials

  1. HTML
  2. Visual CSS
  3. JS in Depth
  4. JS Reference
  5. DOM
  6. SVG
  7. Web Dev Blog