摘要: let barginFlag=[1,2,3,4]; let a=3; let b=9; //存在,flag1==0 let flag1= barginFlag.findIndex(item => item a) console.log(flag1) //不存在:flag2 1 let flag2= 阅读全文
posted @ 2021-05-26 15:02 哎丫丫呀喂 阅读(17825) 评论(0) 推荐(0) 编辑