Ad
  • Custom User Avatar

    it shows me 'For the board: [[-,-,-,R,-,-,-],[-,-,-,R,R,R,-],[-,-,-,Y,Y,R,-],[-,-,R,Y,Y,Y,R],[-,Y,R,Y,Y,R,Y],[R,Y,Y,R,R,Y,R]]: expected 'Y' to equal 'R''.
    but when i console.log(board) it says: '
    [['-', 'Y', '-','-', '-', '-','-'],['-', 'Y', '-','-', '-', '-','-'],['R', 'Y', '-','-', '-', '-','-'],['Y', 'Y', '-','-', '-', '-','-'],['Y', 'R', 'Y','-', '-', '-','-'],['Y', 'Y', 'Y','R', 'Y', 'R','R']]'