Why are static and dynamic imports in node.js treated differently wrt read-only?

前端 未结 0 450
后悔当初
后悔当初 2020-12-20 19:13

Why would node.js 15.4.0 treat static and dynamic imports differently wrt to their read-only behavior?

I have a file test.mjs which reads

let a = {x: 1         


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