[removed] why can't I access GLOBAL variables inside switch..case: statement unless I use case:{ braces } or declare variables in same file?

后端 未结 0 650
北海茫月
北海茫月 2021-02-04 23:00

Can anyone explain a specific behaviour about access to GLOBAL variables within a SWITCH CASE statement? This refers to browser javascript, not node. There are NO MODULES, just

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