diff --git a/client/docs/styleguide.md b/client/docs/styleguide.md index dbc91c8f584..d260180b62b 100644 --- a/client/docs/styleguide.md +++ b/client/docs/styleguide.md @@ -384,6 +384,10 @@ When possible, use strict equality. > if (value === 5) { > // do stuff... > } +> +> if (otherValue !== 6) { +> // do more stuff... +> } > ``` > > **Don't** @@ -392,6 +396,10 @@ When possible, use strict equality. > if (value == 5) { > // do stuff... > } +> +> if (otherValue != 6) { +> // do more stuff... +> } > ``` > **Reason**