DEV Community

Santhosh Kumar
Santhosh Kumar

Posted on

DEVELOPER CONSOLE

This post was originally published on my blog, find original post here

Wether you want to try some JavaScript function , inspect a JavaScript Object or see if there is any errors.
Developer console (web console) is here to help you

Developer Console

Most modern browser provides developer console where you can play with JavaScript in shell like interface.

we can open web console with the keyboard shortcut CTRL + SHIFT + K on Linux and Windows, or COMMAND + OPTION + K on macOS.

we can enter a JavaScript command, examine variables and declare function.

logging in JavaSript can be achieved using console.log function

developer-console

We can add multi-line JavaScript command using SHIFT + ENTER

Top comments (0)