js
sunsk.top
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
js遍历数组和数组对象的方法
遍历数组 // 数组 var arr = [0,2,4,6,8] var arr1=[] // ------------------------------------forEach console.log("-----------------forEach"); arr.forEach((item,index,arr)=>{ console.log(item + 0.5) .原创 2022-01-20 18:07:09 · 1071 阅读 · 0 评论 -
函数方法常用动词
函数方法常用动词 get 获取/set 设置, add 增加/remove 删除 create 创建/destory 移除 start 启动/stop 停止 open 打开/close 关闭, read 读取/write 写入 load 载入/save 保存, create 创建/destroy 销毁 begin 开始/end 结束, backup 备份/restore 恢复 import 导入/export 导出, split 分割/merge 合并 inject 注入/extract 提取, attac原创 2021-12-02 23:06:54 · 271 阅读 · 0 评论
分享