摘要:
let array=['boolean','true','number','true'] let arr=[] array.map((v)=>{ if( !arr.includes(v) ) { //判断arr里面是否有当前元素 arr.push(v); //没有就往里面push } return 阅读全文
posted @ 2022-05-24 10:46
热爱前端的5号机器
阅读(152)
评论(0)
推荐(0)
摘要:
let arr=['boolean','true','number'] //从arr索引为1的位置删除1个再添加‘feb’进去 arr.splice(1, 1,'Feb') console.log(arr) //得到的是 (3) ['boolean', 'Feb', 'number'] let ar 阅读全文
posted @ 2022-05-24 10:30
热爱前端的5号机器
阅读(65)
评论(0)
推荐(0)
摘要:
css渐变色样式 http://color.oulu.me/ 在线抠图 https://www.remove.bg/zh 代码美化 https://ray.so/ 壁纸 https://wallhaven.cc/ 前端拖拽第三方插件 vue.draggable中文文档 https://www.itx 阅读全文
posted @ 2022-05-24 10:18
热爱前端的5号机器
阅读(21)
评论(0)
推荐(0)


浙公网安备 33010602011771号