Title {
: : }
.{
: : }
{
: : : : }
:{
: }
{
: }
{
: }
搜索 arr = [] box = document.()[] inp = box.children[] inp.= () {
newArr = [] (i=i<arr.lengthi++){
val = . (arr[i].(val)===){
newArr.(+arr[i]+) }
}
str = newArr.() (box.children[]){
box.(box.children[]) }
(..=== || newArr.length === ){
}
ul = document.() ul.innerHTML = str box.(ul) }if(arr[i].indexOf(val)===0)这句话是什么意思?
添加回答
举报
0/150
提交
取消