Mock alert with fn() from another function

后端 未结 0 1400
梦毁少年i
梦毁少年i 2021-01-30 18:55

I have a file1.js with a function that fires up alert(): file1.js

export function test(value){
  alert(value); //string
}
<         


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