DEV Community

Discussion on: One life saving Javascript Tip

Collapse
jjjjcccjjf profile image
endan

I think OP means that you should handle the checking of arguments before any other code to prevent side-effects.