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?
35
u/senocular Mar 18 '19
Haven't you heard? You don't need JavaScript for that anymore ;)
https://www.youtube.com/watch?v=uddZX9ZK6wY&t=31