📅  最后修改于: 2022-03-11 15:03:32.408000             🧑  作者: Mango
//es6
Array.from(els).forEach((el) => {
});
//old shit
Array.prototype.forEach.call(els, function(el) {
// Do stuff here
console.log(el.tagName);
});
// Or
[].forEach.call(els, function (el) {...});