TypeError: Cannot read properties of undefined (reading ‘getValue’) on extracting an empty cell from my gameboard array
I tried to use getValue() on the row[column]
to get the value of a row-column wise in my gameboard array depending on the conditon stated below so as to get all the empty cells using filter and map method on the array into variable called availableCells, but this error showed up. any help will be appreciated