How to find Identify Syntax error ?

luthful2

Registered Member
Joined
Mar 28, 2023
Messages
88
Reaction score
16
I can't find syntax error from my code, But Dev tools shows error. How can I fix it. If some one know this, Please help me.
 
I can't find syntax error from my code, But Dev tools shows error. How can I fix it. If some one know this, Please help me.
On firefox, it should show you the line number and column no.
 
I can't find syntax error from my code, But Dev tools shows error. How can I fix it. If some one know this, Please help me.
Try clicking on the error and see where it takes you.

A better way to watch the error is to go to the source panel and creating breakpoints, then pausing on those breakpoints (you can also pause on exceptions for example, from the sources panel). That will show you where it is going wrong exactly, as well as the values that is currently there (let’s say inside a function parameter for example).
 
Back
Top