Javascript module export workaround for legacy classic scripts

后端 未结 0 455
余生分开走
余生分开走 2020-12-23 06:01

Is there a way to reuse the legacy code so that I could export the module conditionally. Something like:

// in global DOM window context

var foo = function()         


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