DEV Community

Discussion on: 5 ways to refactor if/else statements in JS functions

Collapse
 
drarig29 profile image
Corentin Girard

That's true, but oftentimes you have a linter which forces to use "eqeqeq"

Collapse
 
merri profile image
Vesa Piittinen

Only if you have had someone strongly opinioned setting it up :) And even then you have the null: ignore option for it.