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

Need help in packaging app using TideSDK on Windows -

java - Why does my date parsing return a weird date? -

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -