What difference with !arr.length and arr.length = 0

后端 未结 0 1878
春和景丽
春和景丽 2021-01-19 10:40

What difference with \'!arr.length \' and \'arr.length = 0\' i can\'t understand well :(

let arr = [] ;

!arr.length 

arr.length = 0

Really

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