Why do my global variables become nil when used in a funtion?

后端 未结 0 1112
情话喂你
情话喂你 2020-12-16 16:31

I declared a global variable, and when I use it in a function, although the value I assigned to it remains within the function, the moment I try to use the variable outside

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