我正在处理以下代码。为什么我会收到此错误:"message": "Uncaught TypeError: Cannot read property '0' of undefined",同时从循环中获取结果?var ifclus = [["-9.00", "-6.50"], ["-6.00", "+6.00"]];for (var i = 0; i <= ifclus.length; i++) { var start = parseFloat(ifclus[i][0]).toFixed(2); var end = parseFloat(ifclus[i][1]).toFixed(2); console.log(start)}<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
添加回答
举报
0/150
提交
取消