DEV Community

Discussion on: Error Handling in JavaScript (Golang Style)

Collapse
 
outthislife profile image
Talasan Nicholson

Can just do if (error) though.

Collapse
 
bibekkakati profile image
Bibek

Yeah, we can do that. Sometimes I just like to check explicitly.