//实现JS选择器选择的元素数组拥有filter函数功能;
window.onload=function(){
let divEles=document.querySelectorAll('div');
let filter=Array.prototype.filter.bind(divEles);
let re=filter(function(val){
console.log(val);
return val.innerText%2==0;
})
console.log(re);
}
10-11
1111