Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get readable syntax errors in Java Script?

Tags:

javascript

Hi I am beginner in JS, Using linux ( Firefox, Chrome), Is there any way by which I get what are the syntax errors are there in my JS, the way I get my C syntax error in GCC?

like image 620
SunnyShah Avatar asked Mar 15 '26 06:03

SunnyShah


2 Answers

Install Firebug, it will save your life!!! Anyway in Firefox you can look into the error console in the tools menu and in Chrome you can open the javascript console in the tools menu.

like image 89
mck89 Avatar answered Mar 17 '26 20:03

mck89


if you use a script-editor like netbeans, it will show syntak errors on typing. for testing in a browser, i would suggest using firebug (and i'm sure theres something similar for chrome, too).

like image 31
oezi Avatar answered Mar 17 '26 19:03

oezi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!