is there a way to get a variable back from a function without using return?

前端 未结 0 1516
耶瑟儿~
耶瑟儿~ 2021-01-17 03:58

theres a event listener that has the following code:

document.addEventListener("DOMContentLoaded", function() {
    SAX.connect();
});


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