How Javascript Parsing the syntax -


actually, statement like.,

    (var = 0, ; < row; i++,) {} 

makes *.js not load in browser. in c/c++ easy find, syntax error. here took me 20 mins trace bug happened accidentally in cut/copy/paste.

my question : facing issue., when , why issue occurs? how find easily.

as comments on question say, use development add-ons in browsers. can speak firefox, there bunch of great tools available.

for firefox, normal debug console useful of need debug , test, can validation on of content firefox displaying/running.

for things out of debug consoles reach, use firebug. can need inspect, @ headers , responses of ajax requests.

i know chrome has developer tools, , bet there great add-ons out there too.

these tools make things go faster using alert('spot1') ... alert('spot2') debugging techniques. give line numbers syntax errors.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -