title: javascript challenge on CodeWars: what's wrong with my solution?
body: <p>I'm fairly new to programming and javascript, and recently started working on CodeWars challenges. I wasn't able to pass the challange below with my solution, and even when I compared against solutions from other users, I couldn't find what the issue was with mine.</p>
  
  <p>Challenge:</p>
  
  <p><strong>"Complete the squareSum/square_sum/SquareSum method so that it squares each number passed into it and then sums the results together.</strong></p>
  
  <p><strong>For example:
  squareSum([1, 2, 2]); // should return 9"</strong></p>
  
  <p>My code:</p>
  
  <pre><code>function squareSum(numbers){
    var sqNum = numbers.map(num=&gt;num*num);
    var addNum = sqNum.reduce((acc,curr)=&gt; acc + curr);
    return addNum
  };
  </code></pre>
  
  <p>Am I missing something?</p>