From 467fd189eb7ba4b1867fc98ab23b5dd635b60158 Mon Sep 17 00:00:00 2001 From: ayerest <38015960+ayerest@users.noreply.github.com> Date: Sat, 13 Apr 2019 21:47:22 -0700 Subject: [PATCH] Updated note on line 30 (#31938) Emphasized the note on line 30 and clarified that cases aren't just number values. --- guide/english/javascript/switch-statements/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/javascript/switch-statements/index.md b/guide/english/javascript/switch-statements/index.md index 178562a0c6..cad6e2e717 100644 --- a/guide/english/javascript/switch-statements/index.md +++ b/guide/english/javascript/switch-statements/index.md @@ -27,7 +27,7 @@ The above snippet shows the syntax for a basic `switch` statement. In this examp The `default` condition is a condition that will be executed if none of the other cases are true. -Note: One really important point to note here is that in the snippet above, `case 1:` and `case 2:` might seem to represent some kind of order, but `1` and `2` are nothing but the answers which the `(expression)` may get evaluated to. So therefore instead of 1 and 2 it can be anything which the `(expression)` may evaluate to and can be tested against. +**Note: One really important point is that in the snippet above, `case 1:` and `case 2:` might seem to represent some kind of order, but `1` and `2` are just possible answers which the `(expression)` may be evaluated to. The cases can be anything which the `(expression)` may evaluate to and can be tested against. A case may be a number, string, boolean, etc.** For example: ```javascript