Why doesn't "let"variable declaration work on my code playground | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Why doesn't "let"variable declaration work on my code playground

Playground

9th Aug 2020, 12:48 PM
Jefferson John
Jefferson John - avatar
10 Antworten
+ 4
I'm gonna have to r/wooosh David Carroll And Jefferson John If you're saying why let declaration does*n't* work on your playground then update your webview. And if you're trying to ask exactly what you asked then you need to take a deep breathe and think about it again.
9th Aug 2020, 4:49 PM
Raj Chhatrala
Raj Chhatrala - avatar
+ 6
I'm surprised to find even const works 🤔
9th Aug 2020, 2:09 PM
$hardul B
$hardul B - avatar
+ 5
Because since 2015 it is a part of JavaScript syntax
9th Aug 2020, 12:58 PM
Ore
Ore - avatar
+ 5
Jefferson John Interesting question... Why are you surprised that the let declaration works? What were you expecting?
9th Aug 2020, 1:20 PM
David Carroll
David Carroll - avatar
+ 4
David Carroll i tried sarcasm there😅
9th Aug 2020, 3:07 PM
$hardul B
$hardul B - avatar
+ 3
$hardul B Did you learn Javascript before 2015, then switch to other languages that use const, then just recently return back to Javascript? Or is there another reason you are surprised that const is supported?
9th Aug 2020, 2:53 PM
David Carroll
David Carroll - avatar
+ 3
$hardul B DOH... I was like whaaat? 😂🤣
9th Aug 2020, 4:06 PM
David Carroll
David Carroll - avatar
+ 2
Sorry guys,i meant doesn't work 😔
10th Aug 2020, 9:18 AM
Jefferson John
Jefferson John - avatar
+ 2
Why doesn't it work $hardul B
10th Aug 2020, 11:55 AM
Jefferson John
Jefferson John - avatar
0
Jefferson John it's ok no need to apologize! :)
10th Aug 2020, 10:43 AM
$hardul B
$hardul B - avatar