title: Discord.js argument Loop not picking from array
body: <p>Hi im pretty new to loops as ive been trying to get some to work after watching some tutorials but i keep getting it looping over the entire array rather then stopping when the args match</p>
  <pre class="lang-js prettyprint-override"><code>    let user = message.author.username
      let itemName = &quot;betakey&quot;;
      let opt = args.shift().toLowerCase()
  
      let array = ['info', 'special', 'flex', 'default']
      
      if(opt[0])
      
      for (a in array){
  
          if (array[a] === 'info'){
              message.channel.send(`info`);
              break
          }
          if (array[a] === 'special'){
              message.channel.send('special')
              break
          }
          if(array[a] === 'flex'){
  
              message.channel.send('flex')
              break
          }
          if(array[a] === 'default'){
              message.channel.send('&gt;betauser info | special | flex')
              break
  
  
          }
  
      }else{
          message.channel.send('error')
      }
      console.log(array[a])
      
  
  }
  </code></pre>
  <p>any help appreciated</p>