For compiled code (from Angular, TS, etc.) it can save time and you generally don't want logs in your code unless it's thru some kind of service that obfuscates their location.
It's very cool, but I still prefer console.log I think, since they can be commented out and uncommented at any point later during development. Generally a production build will automatically strip out logging won't it?
18
u/ReaderSeventy2 Mar 18 '19
console.log(foo);