2018年1月5日

摘要: https://www.jianshu.com/p/fe41ee02efc8 阅读全文
posted @ 2018-01-05 13:24 暖暖的心窝子 阅读(134) 评论(0) 推荐(0) 编辑
 
摘要: http://www.ruanyifeng.com/blog/2013/01/javascript_strict_mode.html 阅读全文
posted @ 2018-01-05 11:27 暖暖的心窝子 阅读(124) 评论(0) 推荐(0) 编辑
 
摘要: http://web.jobbole.com/84792/ 阅读全文
posted @ 2018-01-05 11:18 暖暖的心窝子 阅读(149) 评论(0) 推荐(0) 编辑
 
摘要: http://blog.csdn.net/kingliguo/article/details/52637087 阅读全文
posted @ 2018-01-05 11:08 暖暖的心窝子 阅读(290) 评论(0) 推荐(0) 编辑
 
摘要: 异步读取文件 按照js的标准,异步读取一个文本文件的格式如下: 1 2 3 4 5 6 7 8 9 10 11 请注意,test.txt文件必须在当前目录下,且文件编码必须为utf-8 如果我们读取的文件不是文本文件,而是二进制文件,怎么办呢? 下面演示如何读取一个图片文件: 1 2 3 4 5 6 阅读全文
posted @ 2018-01-05 10:41 暖暖的心窝子 阅读(260) 评论(0) 推荐(0) 编辑
 
摘要: os模块,可以用来获取操作系统相关的信息和机器物理信息,例如操作系统平台,内核,cpu架构,内存,cpu,网卡等信息。使用如下所示: const os = require('os'); var dealTime = (seconds)=>{ var seconds = seconds|0; var 阅读全文
posted @ 2018-01-05 10:39 暖暖的心窝子 阅读(199) 评论(0) 推荐(0) 编辑
 
摘要: http://www.ruanyifeng.com/blog/2017/10/bulma.html 阅读全文
posted @ 2018-01-05 09:23 暖暖的心窝子 阅读(278) 评论(0) 推荐(0) 编辑