JavaScript Console or Browser console is build-in object in JavaScript which gives access to browser debugging console. console can be used to print output, check errors and warnings in console.
For frontend and web developer, its is recommended to open console window always. We can call global functions, check variables and syntax errors in console.
Browser | Console Shortcut for Windows / Linux | Console Shortcut for Mac |
---|---|---|
Chrome | Ctrl + Shift + j | Cmd + Alt + j. |
Firefox | Ctrl + Shift + k | Cmd + Alt + k |
Microsoft Edge | Ctrl + Shift + j | Cmd + Alt + j. |
Internet Explorer | Ctrl + 2 or F12 | NA |
Edge | Ctrl + 2 or F12 | Cmd + Alt + j |
Safari | Ctrl + Alt + c | Cmd + Alt + c |