2017年9月3日

摘要: let和const 使用方法: (1).有没有感觉到在 javascript 使用var会发生变量提升,即脚本开始运行时, 变量已经存在了,但是没有值,所以会输出undefined。 而let不会发生变量提升,这表示在声明它之前,变量是不存在的,这时如果用到它, 就会抛出一个错误。 (2). var 阅读全文
posted @ 2017-09-03 21:31 J-P 阅读(13711) 评论(0) 推荐(0) 编辑
 
摘要: 下载node出现以下异常 : the install has encountered an unexpected errer installing this package.this may indicate aproblem with this package.the error code is 阅读全文
posted @ 2017-09-03 12:36 J-P 阅读(642) 评论(0) 推荐(0) 编辑