当我写这个
var table = document.getElementById("tableKon");
var rowlen = table.rows.length;
var row = table.insertRow(rowlen);
var cell1 = row.insertCell(0);
var dkkTo = [0.13,0.17,0.17,1,15.43,0.98,1.15,0.16,0.11,0.18,8.34];
然后例如
cell1.innerHTML = dkkTo[0];
它在列中给了我NaN。