title: Switch-case typescript case not working on string
body: <p>I have the following switch simple case:</p>
  
  <pre><code>let ca: string = "2";
  
  switch (ca) {
  case "2":
      console.log("2");
  
   case "1":
      console.log("1");
  
  default:
      console.log("default");
  </code></pre>
  
  <p>}</p>
  
  <p>I'm trying to understand why the output of this code is:</p>
  
  <pre><code>2
  1
  default
  </code></pre>
  
  <p>My expected output is </p>
  
  <p><code>2 
  default</code> </p>
  
  <p>why its print</p>
  
  <p><code>1</code> </p>
  
  <p>even if ca isn't equal "1"?</p>
  
  <p><strong>EDIT:</strong> I know that I can add <code>break</code> statment - I just trying to understand why <code>case "1"</code> occurred if <code>ca="2"</code></p>
  
  <p>Thanks.</p>