1 2 3 4

07 2021 档案

摘要:includes() // 该方法用于判断数组是否存在某个元素 const arr = [1, 2, 3, 4, 5] const includeNum4 = arr.includes(4) const includeNum7 = arr.includes(7) console.log(includ 阅读全文
posted @ 2021-07-31 14:57 无序 阅读(65) 评论(0) 推荐(0) 编辑
摘要:"scripts": { "_____comment": "npm run git -- 'commit-msg' so you can push and update by a auto way", "git": "npm run build && git add . && git commit 阅读全文
posted @ 2021-07-22 16:42 无序 阅读(133) 评论(0) 推荐(0) 编辑
摘要:解决办法: 首先执行下npm adduser,输入相应的Username、Password、Email: (this IS public) ·······Logged in as 您的Username on https://registry.npmjs.org/. 如果on后面不是https://r 阅读全文
posted @ 2021-07-22 11:21 无序 阅读(74) 评论(0) 推荐(0) 编辑
摘要:Object.freeze() 这是一个函数 这个函数的作用就是将对象进行冻结 就好比咱们封装好一个对象 但是又不希望后续对这个对象进行修改 就可以使用这个函数进行冻结 阅读全文
posted @ 2021-07-15 17:26 无序 阅读(97) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示