Would it be wise to start every ES6 javascript file with { and end with } to isolate code

前端 未结 0 707
栀梦
栀梦 2021-01-22 02:41

Starting every file with { and end with } would isolate all code in that file in a block, and make every \'let\' declared variable private to t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题