Is there any way I can write “unified” Node.js and browser JS?

后端 未结 0 1442
无人共我
无人共我 2020-12-18 06:45

Let\'s say I\'m writing an Electron app and I\'ll be using both Node.js and browser style JavaScript.

Node.js modules have to be written like this:

mod         


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