DEV Community

Discussion on: initLogs 4: Why am I getting [object Promise] when calling an asynchronous function in JavaScript?

Collapse
 
unsungnovelty profile image
Nikhil • Edited

TIL! That makes the code a little more clean. Let me make the change right away. Thanks @miketalbot !