ZacharyM's recent timeline updates
ZacharyM

ZacharyM

V2EX member #249309, joined on 2017-08-17 21:56:46 +08:00
ZacharyM's recent replies
赞一个
Oct 26, 2021
Replied to a topic by Rezark 推广 相约第二年,继续送苹果!
appler than apple
@dartabe 这里用的是 var,不算 ES6 declaration semantics 吧。
@dartabe emm 问题不是怎么改,主要是想知道 js 具体是怎么处理和判断这个错误的。
另外有趣的是在 Edge(非 chrome 内核版本,Microsoft Edge 44.19041.1.0)、ios(13.5.1)上的 safari 以及 nodejs6.0.0 以下版本执行不报错,直接输出"number"。
Firefox,safari,chrome,nodejs6.0.0 及以上的才会报重复声明的错
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2438 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 01:54 · PVG 09:54 · LAX 18:54 · JFK 21:54
♥ Do have faith in what you're doing.