|
@ChromeDevTools | |||||
|
Rerunning code that declare let-variables no longer cause failures in DevTools console. We hope this makes trying out code more convenient! pic.twitter.com/qNagdQlb5v
|
||||||
|
||||||
|
dwelle
@dluzar
|
7. stu |
|
Nice! Not sure it'll please @getify since it'll further distance console REPL from how JS works, tho.
|
||
|
|
||
|
Mathias Bynens
@mathias
|
7. stu |
|
Note that the behavior within a single REPL input does not change. Entering `let x; let x;` still throws an exception, per JavaScript.
It’s only across multiple REPL inputs that we’re now a little bit more lenient.
|
||
|
|
||
|
Sam Saccone
@samccone
|
7. stu |
|
Y'all should publish the design doc for this. It was a super interesting read that I think the community would love.
|
||
|
|
||
|
Sam Saccone
@samccone
|
8. stu |
|
They published it!!! twitter.com/ChromeDevTools…
|
||
|
|
||
|
𝙍𝙖𝙗𝙗𝙞 𝙎𝙝𝙪𝙠𝙞 𝙂𝙪𝙧
@rabbishuki
|
7. stu |
|
Amazing! No reason to use `var` anymore.
Now if we could just past typescript into the console that would be amazing...
|
||
|
|
||
|
Kyle 🦚
@kylpeacock
|
7. stu |
|
Features we didn't realize we desperately needed
|
||
|
|
||
|
Malte Ubl
@cramforce
|
7. stu |
|
OMG!
|
||
|
|
||
|
rong-sen
@igarshmyb
|
7. stu |
|
Thank you. No wrapping with {} for block scopes to test codes in DevTools anymore.
|
||
|
|
||
|
Julien
@darul75
|
7. stu |
|
Oh cool that was so annoying
|
||
|
|
||