While trying to solve one of Codecademys challenge projects, I’ve run into a challenge with if statements and checking whether a value is true or false in an array. What I expected to be a pretty simple line of code, seems to break the way JavaScript works. The problem is was as follows: if (someArray[x][y]Continue reading “Accessing arrays and if statements in JavaScript – And solving the wrong problem”