Skip to main content
2 votes

Get multiple indexes of an array at once, for comparison

This syntax is the problem: gameBoard[0, 3, 6] Although it doesn't crash the script, it also won't do what you're expecting it to. It will effectively just test the last index you've listed there, ...
ADyson's user avatar
  • 63.1k

Only top scored, non community-wiki answers of a minimum length are eligible