Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Console.log with return value

$
0
0

definitely also very useful.

I think that many devs use console.log to quickly debug stuff. Although ->tap(Console.log) is shorter than ->Console.logAndReturn, I would prefer the latter one if used frequently.

What about to implement both?


Viewing all articles
Browse latest Browse all 2592

Trending Articles