javascript - No line number specified in console error message. What to do? -
in recent day faced kind of error message, has no position specified. debugging becomes more difficult. did wrong?
when started re-define json.parse
functions of objects, after appears first time. replaced them normal functions, error message still strange.
maybe because i'm writing prototype functions, , call them before constructing new object?
is because call function console?
i managed simplify error:
var o = {g : false}; function f(){ console.log(o.g()); }
if call chrome , form console, not line number.
Comments
Post a Comment