+
95
-

js如何判断数组是否为空?

js如何判断数组是否为空?

网友回复

+
15
-
let arr = [];
if (arr.length == 0){
  ...

点击查看剩余70%

我知道答案,我要回答