Any way to force strict mode in node?

后端 未结 5 1837
故里飘歌
故里飘歌 2020-11-28 21:16

Could not find this answer anywhere, but I did find several mailing lists where this was discussed, these are rather old however and I have no idea if this is implemented or

5条回答
  •  悲哀的现实
    2020-11-28 21:44

    In node 0.10.7 you can enforce strict mode at file level by placing "use strict"; at the top of your file. Finally!

提交回复
热议问题