var arr = [119.657958,29.108071];function c(){ var x = ((Math.random()-0.5)/500).toFixed(6); console.log(x); return x;}let y = c();console.log(isNaN(y));console.log(typeof y);console.log(y+1); 结果为为什么y既是数字又是字符串呢
添加回答
举报
0/150
提交
取消