on 03 Jan 2023 02:39 AM
There are different kinds of errors in the browsers:
SyntaxError belongs to the second group and will not provide detail information such as line and column.
This error occurs when the javascript code is not valid. Please check if there is a typo in the javascript code or if it delivers an html page instead of javascript code.