JS: How to Use Browser Console

By Xah Lee. Date: . Last updated: .
chrome js console 2016-10-27
Google Chrome browser web JavaScript console.

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

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 web dev tool 2014-08-28
Firefox web dev tool

JavaScript Basics

  1. How to Run JavaScript
  2. JS: How to Use Browser Console
  3. JavaScript Basics
  4. JS: Data Types
  5. JS: true, false
  6. JS: Operators
  7. JS: Variable
  8. JS: Branch Control: if then else, switch
  9. JS: for while do Loop
  10. JS: Array Basics
  11. JS: Object Basics
  12. JS: RegExp Tutorial
  13. JS: Throw Try Catch Finally
Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

Ask me question on patreon