title: What can I do to make code be executed while the answer is one of a multiple conditions?
body: <p>I tried to make that a code runs when x, determinated by a prompt is one of the four answers. With only one possibility it works well, but when I add more using &amp;&amp; the program do nothing. (At the end of the program i put a break to execute the code only one time)</p>
  
  <p>That's a short version of how the programm works...</p>
  
  <pre><code>var x = prompt("Ready?");
  while(x == "yes"){
   window.alert("...Example...");
  
  break;
  }
  </code></pre>
  
  <p>And how I want to make it but doesn't works...</p>
  
  <pre><code>var x = prompt("Ready?")
  while(x == "Yes" &amp;&amp; x == "yes" &amp;&amp; x == "yeS" &amp;&amp; x == "YES")
   window.alert("...Example..."); 
  
  break;
  }
  </code></pre>
  
  <p>How can I do to make it works?</p>