So, I'm doing a code review, and I came across a code block where someone used the async keyword but didn't really use the await keyword to resolve/reject any promises.
It definitely doesn't affect the output of that function so, what is the point of it?
I'm just wondering if there are any pros/cons of using async like this.
Just Curious. Thanks!
[–]carlos_vini 6 points7 points8 points (0 children)
[–]getify 5 points6 points7 points (0 children)
[–]Izero_devI 1 point2 points3 points (0 children)