const [a, b, c] = lines[i];
if (squares[a] && squares[a] === squares[b] && squares[a] === squares[c]) {
return squares[a];
}
I'm going through the React tutorial and I've never seen syntax like this. Can someone tell me what this is called and maybe drop a link to official docs?