How do I check if a Javascript array contains all the other elements of another array

前端 未结 0 862
北海茫月
北海茫月 2021-01-22 07:55

I am creating tic tac toe in JavaScript. I have an array that contains a gameboard:

let board = [
    \'X\', \'X\', \'X\',
    \'X\', \'O\', \'X\',
    \'O\', \'O         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题