请描述您的问题
标题:腾讯云新春采购节——多买多优惠,续费升级礼包领不停!
地址:https://cloud.tencent.com/act/season?utm_source=portal&utm_medium=banner&utm_campaign=season&utm_term=0308
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36 QQBrowser/4.1
请描述您的问题
标题:腾讯云新春采购节——多买多优惠,续费升级礼包领不停!
地址:https://cloud.tencent.com/act/season?utm_source=portal&utm_medium=rightbanner&utm_campaign=season&utm_term=0308
浏览器信息
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:58.0) Gecko/20100101 Firefox/58.0
为什么我可以在浏览器控制台中重新定义变量(例如,Chrome),但不在我笔记本电脑( Mac)终端上的控制台(Node)中。
终端节点控制台:
> let varA = varB;
< Uncaught ReferenceError: varB is not defined
> let varB = "bla";
> let varA = varB;
< Uncaught SyntaxError: Identifier 'varA' has already been declared
> varA
< Uncaught