摘要: https://www.cnblogs.com/mh-study/p/9537970.html 阅读全文
posted @ 2021-07-27 08:49 connie313 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 1. 递归写1+2.。。+n 2. 定时器有哪些 3. 手写延迟,节流和防抖 4. 事件的执行顺序 5. 三圣杯 6. css 阅读全文
posted @ 2021-06-29 22:05 connie313 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1. 如果需要往pod上面传配置文件或者配置信息 oc create configmap test --from-file=test.json 建成configmap后,需要挂载到volumn上,这样文件就会挂载到、/etc/config/test.json 其实官方给的教程是pod, 但是使用te 阅读全文
posted @ 2021-06-25 00:45 connie313 阅读(53) 评论(0) 推荐(0) 编辑
摘要: 1. performance performancePerformance {timeOrigin: 1624549963009.4, onresourcetimingbufferfull: null, eventCounts: EventCounts, timing: PerformanceTim 阅读全文
posted @ 2021-06-25 00:33 connie313 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1. java性能监控 C:\Program Files\Java\jdk1.8.0_231\bin\jconsole.exe 2. java dump 3. jprofile 阅读全文
posted @ 2021-06-25 00:28 connie313 阅读(40) 评论(0) 推荐(0) 编辑
摘要: package。json { type:"module" } index.js 直接使用await 阅读全文
posted @ 2021-06-09 22:18 connie313 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 1. Object.create 2. Object.freeze() 用法: Object.freeze(a) //使得object a 里面的属性值readonly, 不可改变 但是a也仅仅是浅冻住、 如果 a = {b:{c:2}}, Object.freeze(a) 然后 a.b.c = 5 阅读全文
posted @ 2021-06-06 18:59 connie313 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1. 各种loader file-loader, 资源文件迁移 url-loader 文件转化成base64 url css-loader 解析css style-loader 生成style, 嵌入header cleanPkugin变成 output:{ clean:true } 2. webp 阅读全文
posted @ 2021-05-29 22:40 connie313 阅读(409) 评论(0) 推荐(0) 编辑
摘要: 1. 增加webpack-dev-server devServer: { contentBase: path.resolve(__dirname, "build"), host: "localhost", port: 8000, compress: true, }, 2. css in js (插入 阅读全文
posted @ 2021-05-24 07:42 connie313 阅读(141) 评论(0) 推荐(0) 编辑
摘要: ast叫做抽象语法树, 如babel, eslint, typescript和webpack都是借助了抽象语法树,做语法解析(语法分词和语法分析)。 分析和语法分析在线 https://astexplorer.net/ 安装 需要操作 AST 代码,这里,我们需要借助两个库,分别是 @babel/c 阅读全文
posted @ 2021-05-23 08:38 connie313 阅读(246) 评论(0) 推荐(1) 编辑