How to save a new value to a variable outside an async function, inside that async function?

前端 未结 0 1285
心在旅途
心在旅途 2020-11-22 05:50

When using an asynchronous function I can access variables outside of the function.

outside_variable = \'some message\'         


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