Tip of the Day: I didn't know about the different ...
# suitescript
c
Tip of the Day: I didn't know about the different console.<method> until yesterday. I just never looked into it. I found console.table and its really useful. For example, creating a search in the UI and then loading it to see the filters/columns is much easier to look at it. The stringify/parse is done so the getters are invoked so that the data displays nicely:
👍 6
t
knew about console.error and console.warning but this is cool
c
Yeah I never messed with any of them besides log. I feel kinda silly now honestly.
m
Just found about this as well - this article pointed to it https://markodenic.com/use-console-log-like-a-pro/
💯 1
k
This is soo cool dude
c
Nice article... there's some useful other ones too but I've been being lazy for years. Time to up my log skills.
😁 1