DEV Community

Discussion on: Clean Code Applied to JavaScript — Part III. Functions

Collapse
 
thiagomgd profile image
Thiago Margarida

I agree in part, because generally speaking you shouldn't pass null as param, and functions shouldn't return null