AngularJS Underscore Extend Chrome Debugger Quirk • /r/angularjs

  • If you want to log the object as it was at that point in time do a JSON.stringify or clone the object and log the clone or break your code execution using a debugger or a breakpoint.
  • console.log does a deeper traversal of the object and it shows the keys of the array whilst just putting q in the console does a more shallow dump more similar to JSON.stringify.
  • Just dump q in the console when you hit the debugger.

Read the full article, click here.


@designieure: “#AngularJS #Underscore Extend #Chrome #Debugger #Quirk • /r/angularjs”


reddit: the front page of the internet


AngularJS Underscore Extend Chrome Debugger Quirk • /r/angularjs

You might also like More from author

Comments are closed, but trackbacks and pingbacks are open.