How Can I Get JavaScript Error report without Using Adobe DreamWeaver Editor?

How can i get JavaScript error report like that of PHP?
Please someone help

If you are getting JavaScript errors, they will show in the browser’s console. If you are using Chrome you do press Ctrl+Shft+I on Windows or Command+Shft+I on mac to view the console.