var arr = document.getElementsByClassName("abc");
var arr2= Array.prototype.slice.call(arr);
console.log(arr2)
var arr = document.getElementsByClassName("abc");
var arr2= Array.prototype.slice.call(arr);
console.log(arr2)
本文标题:2021-02-07 document.getElementsB
本文链接:https://www.haomeiwen.com/subject/kkmatltx.html
网友评论