With booleans, only strict comparison (with !== operator) should be used to lower bug risks and to improve performances.