05 2020 档案
给 console 中执行的代码添加断点
摘要:比如这段: console.log('g8up.cn'); //@ sourceURL=g8up.js 带了个小尾巴,在 console 里执行,会在 source 下映射一个文件,可以打断点。 不会断点调试?看这里: https://www.cnblogs.com/duxing/p/6754488 阅读全文
posted @ 2020-05-31 01:43 死宅程序员 阅读(363) 评论(0) 推荐(0)
Autojs start server 失敗
摘要:在 vscode 中启动 server 时,右下角并没有弹出成功启动过的通知。 问题何在? 通过 vscode 的开发者工具可以查看端倪: 点击: Help - Toggle Develop Tools workbench.desktop.main.js:sourcemap:259 [Extensi 阅读全文
posted @ 2020-05-17 00:04 死宅程序员 阅读(2934) 评论(0) 推荐(0)
Object.create(null) 意义何在?
摘要:Talk is cheap. Show me the code! Object.prototype.name = '死宅程序员'; const hash = {}; hash.name '死宅程序员'; // true,污染 阅读全文
posted @ 2020-05-11 14:13 死宅程序员 阅读(276) 评论(0) 推荐(0)