NodeJS的export和import使用方法

官方指引:

https://developer.mozilla.org/en-US/docs/web/javascript/reference/statements/import

https://developer.mozilla.org/en/docs/web/javascript/reference/statements/export

 

require和import的區別 ?

參考:https://www.zhihu.com/question/56820346

參考:https://www.cnblogs.com/guanghe/p/6560698.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章