Is there a better way to write this drawing function?

后端 未结 0 1454
感情败类
感情败类 2020-11-30 22:18

I have this JavaScript code snippet:

var i = 0;
function draw()
{
    if (list[i] == \'x\' && gridItems[i].classList != \'gridItem startPoint\' &&         


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