How to parse javascript error in Firefox DEV response

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 however, when it is an error of syntax in javascript, the message is a bit different and groups several things:

What is the most correct way to interpret this response from the console? Or, where is 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 such an answer.

    
asked by anonymous 27.07.2017 / 21:53

1 answer

0

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

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

    
28.07.2017 / 02:14