Links #84

Richard Hansen
Aug 24, 2017 · 1 min read

Beyond Console Debugging:

Summary:

In addition to console.trace() and console.table.

console.time() and console.timeEnd() // measures execution time

console.profile() and console.profileEnd() // measure CPU consumption

console.dir(<domElement>) // JS representation of domElement printing out the properties

debug(functionName) // if ctrl+shift+f doesn’t find it, try debug()

monitor(functionName) // monitor the arguments of a function

Web streams — FTW!:

)
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade