Use if else to declare a `let` or `const` to use after the if/else?

后端 未结 0 987
面向向阳花
面向向阳花 2021-02-11 12:43

I\'m not sure why but it seems that I can\'t call the let or const variables if I declare them in an if/else statement.

if         


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