',' expected. visual studio code : <pre><code>function checkWin(board, player){
    let plays = board.reduce((a, e, i) =&gt; 
       (e === player)) ? a.concat(i) : a, []);
            let gameWon = null;
            for (let [index,win] of winCombos.entries()){
</code></pre>

<p>line three of code comes back with Uncaught SyntaxError: Missing initializer in destructuring declaration</p>
