- 博客(3)
- 收藏
- 关注
原创 ES5新增的数组方法
1.数组.indexof ( 参数 )作用:通过[ 参数( 想要找的元素 )]找到数组元素对应的下标返回值:参数如果在数组中存在则返回对应的 下标 , 不存在则返回 -1 ; 2.数组.forEach(参数1,参数2,参数3)数组.forEach(function(item,index,arr){数组元素有多少个,此函数则执行多少次item 表示数组中的元素index 表示元素对应的索引arr 表示的是调用forEach方法的数组})3.map( 参数 ) 4.filter ( )...
2022-06-16 23:46:59
187
1
原创 音视频标签的使用
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>.
2022-05-24 20:43:38
313
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅