会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
利群的个人博客
学就完事了!!!
博客园
首页
新随笔
联系
订阅
管理
2019年11月6日
event loop
摘要: Node的Event Loop分阶段,阶段有先后,依次是 expired timers and intervals,即到期的setTimeout/setInterval I/O events,包含文件,网络等等 immediates,通过setImmediate注册的函数 close handler
阅读全文
posted @ 2019-11-06 15:07 王利群
阅读(118)
评论(0)
推荐(0)
2019年10月10日
密码
摘要: http://blog.sina.com.cn/s/blog_77e8d1350100wfc7.html
阅读全文
posted @ 2019-10-10 10:58 王利群
阅读(94)
评论(0)
推荐(0)
2019年10月9日
npm packages
摘要: express-async-errors express-validator bcryptjs helmet
阅读全文
posted @ 2019-10-09 10:58 王利群
阅读(159)
评论(0)
推荐(0)
2019年10月8日
nodejs优化
摘要: 涉及到buffer, 静态文件等,提前转化为buffer处理
阅读全文
posted @ 2019-10-08 15:13 王利群
阅读(237)
评论(0)
推荐(0)
2019年7月23日
collect some code
摘要: arr.reduce((prev, args) => prev.then(() =>bar(arg)), Promise.resolve()); function f() { console.log(tmp); if (false) { var tmp = 'hello world'; } } le
阅读全文
posted @ 2019-07-23 17:01 王利群
阅读(179)
评论(0)
推荐(0)
2019年7月22日
sort
摘要: const selectionSort = arr => { let len = arr.length, temp, min; for (let i = 0; i { let temp; for (let i = arr.length - 1; i > 0; i--) { for (let j = 1; j arr[j]) { ...
阅读全文
posted @ 2019-07-22 14:37 王利群
阅读(156)
评论(0)
推荐(0)
js skills
摘要: Object.prototype.toString.call(array)判断类型 git rm -r --cached . git add . git commit -m 'update .gitignore'
阅读全文
posted @ 2019-07-22 13:58 王利群
阅读(215)
评论(0)
推荐(0)
2019年5月8日
js流式下载存储png
摘要: request(url).pipe(fs.createWriteStream(`./spiderFiles/${name}.png`));
阅读全文
posted @ 2019-05-08 16:30 王利群
阅读(638)
评论(0)
推荐(0)
2019年3月7日
http headers
摘要: cors-Request cors-Response
阅读全文
posted @ 2019-03-07 14:49 王利群
阅读(226)
评论(0)
推荐(0)
2019年3月5日
typescript
摘要: 基础类型 布尔 let isDone: boolean = false; 数字 let decLiteral: number = 6; 字符串 let name: string = "bob"; 数组 let list: number[] = [1, 2, 3]; let list: ...
阅读全文
posted @ 2019-03-05 14:36 王利群
阅读(164)
评论(0)
推荐(0)
下一页
公告