摘要:最近面试了几轮,感觉问的最多的就是数组的方法 map filter some every reduce splice slice push pop unshift shift 原型链 promise 事件处理机制 call apply bind闭包跨域 一些 布局 问题
阅读全文
06 2019 档案
摘要:{ // ------------------------ 格式化代码 ------------------------ // 一个制表符等于的空格数 "editor.tabSize": 2, // 启用后,保存文件时在文件末尾插入一个最终新行。 "files.insertFinalNewline": true, // 启用后,保存文件时将删除在最终新行后的所有新行。 ...
阅读全文
摘要://节流 设置的时间内只能调用一次//节流函数 写法1 时间差版本function throttle(method, delay) { let timer, args = arguments, start; return function fn() { let self = this; let no
阅读全文
摘要://新建分支git checkout -b newBranch //推到远程origin git push --set-upstream origin newBranch
阅读全文