Returning assigment to global variable

前端 未结 0 875
一整个雨季
一整个雨季 2020-12-30 06:02

I\'ve got short question

What\'s a diffrence between:

let a;
function assign(){
return a=5;
}

assign() 

vs

let a;

fun         


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