📜  js 长度数组 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:33.928000             🧑  作者: Mango

代码示例6
var x = [];
  console.log(x.size());
  console.log(x.length);
  console.log(x.size()==x.length);
  x =[1,2,3];
  console.log(x.size());
  console.log(x.length);
  console.log(x.size()==x.length);
//arjun