摘要: 声明一个数组,有多个内容,但是已知需要移除的那一项,但是不知道具体位置; var idList=['aaa','bbb','ccc','ddd'...] var str='ccc' 删除方法 function remove(str,idList){ var index=idList.indexOf( 阅读全文
posted @ 2021-06-11 12:00 俩只猫 阅读(66) 评论(0) 推荐(0) 编辑