整理在nodejs开发过程中遇到的错误,和解决方案!

----------------------------------

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
在文件第一行加 "use strict";

持续更新