['1','2','']js 怎么判断数组里是否有空
随便给你写几种
['1','2',''].some(r => r==='') ['1','2',''].find(r => r==='') ==='' !['1','2',''].every(r => r!=='') ['1','2',''].includes('')
2.1m questions
2.1m answers
60 comments
57.0k users