How to get readable syntax errors in Java Script?

Hi, I am starting in JS using linux (Firefox, Chrome). Is there a way by which I get that there are syntax errors in my JS, how do I get C syntax error in GCC?

+3
source share
3 answers

Install Firebug, it will save your life !!! In either case, in Firefox you can see the error console in the tool menu, and in Chrome you can open the javascript console in the tool menu.

+3
source

script -editor, netbeans, . firebug ( , - ).

+1

Chrome: ctrl + shift + j: JavaScript. "", .

FireFox: firebug , chrome.

IDE. netbeans Eclipse, JavaScript. .

jslint / jshint . These tools offer code suggestions to improve code quality and reduce the likelihood of errors (logic), as well as to eliminate syntax and other errors.

0
source

Source: https://habr.com/ru/post/1776900/


All Articles