How to analyze javascript error in Firefox DEV response

Asked

Viewed 40 times

1

Using firefox dev, there is the console (Ctrl+shift+k), and within that console there are answers, PHP error responses are simple, or when a variable is passed empty, but when it is a javascript syntax error, the message is a little different and groups several things:

inserir a descrição da imagem aqui

What is the most correct way to interpret this console response? Or where there’s a manual about it ?

PS: I made this mistake deliberately, I do not want the solution to this error, I want to know how to understand when there is this kind of answer.

1 answer

0


Errors are usually handled in Typeerror, in which case it says that you called an object called "enabled" that does not exist. It would be interesting to put the js code here to take a look!

If you click on the "link" that is showing the error firefox shows where the error is.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.