matrix[row][col],比如[ [ "Name", "Age" ], [ "Sam", 12 ] ]
function (m) { var s = ''; for (var i in m) { s += '<tr>'; for (var j in m[i]) s += '<td>' + m[i][j] + '</td>'; s += '</tr>'; } return s; }
测试