title: Array returning NaN for String values in JS
body: <p>I am writing a program to make a deck of cards by using suits and card values. I am running a for loop of suits and another nested for loop for cards inside suits loop and trying to print all the combinations(52) inside an empty array called "deck". While trying to log the deck array after the values are added, I am getting "NaN" in the values where there are strings in the deck array. </p>
  
  <p>I know NaN means 'not a number' and that is why I am getting this error for printing string values in the array. </p>
  
  <p>How do I print the string values?</p>
  
  <p>Code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>let suits = ["Spades", "Hearts", "Diamonds", "Clubs"];
  let cards = ["Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"];
  
  let deck = [];
  
  for (let i = 0; i &lt; suits.length; i++) {
    for (let j = 0; j &lt; cards.length; j++) {
      deck.push(+cards[j] + "of" + suits[i]);
    }
  }
  console.log(deck[1]);
  for (let k = 0; k &lt; deck.length; k++) {
    console.log(deck[k]);
  }</code></pre>
  </div>
  </div>
  </p>