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. Value Types
  3. true, false
  4. Operators
  5. Variable
  6. if then else
  7. for while do Loop
  8. Array Basics
  9. Object Basics
  10. RegExp Tutorial
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 Basics
  4. JS in Depth
  5. JS Reference
  6. DOM
  7. SVG
  8. JS Misc