A few console.log gems you didn’t know about
Top 10 javascript console tips!
Tip #0 console.assert()
Tip #1 console.trace()
Tip #2 console.time() && console.timeEnd()
Tip #3 console.memory
Tip #4 console.profile(‘profileName’) & console.profileEnd(‘profileName’)
Tip #5 console.count(“STUFF I COUNT”)
Tip #6 console.assert(false, “Log me!”)
Tip #7 console.group(‘group’) & console.groupEnd(‘group’)
Tip #8 String substitutions
Tip #9 console.clear()
Tip #10 console.table()
All tips (except #0) stolen from this site: https://medium.com/appsflyer/10-tips-for-javascript-debugging-like-a-pro-with-console-7140027eb5f6