浏览器Console

var count = 0;
var table = document.querySelector("table").childNodes;
         
for(var tr_info of table){
    count+=parseFloat(tr_info.childNodes[4].innerText)
}
console.log(count);

你可能感兴趣的:(浏览器Console)