Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
Because the array itself is defined in the initialize function while you are trying to reference it from the start function. Keep in mind that var is function scope, so you will need to make possibleWords global scope by defining it outside of both functions. This will allow access to the array from inside of the start function
29th Dec 2021, 10:38 PM
ODLNT
ODLNT - avatar