JavaScript developers really woke up one day and said "Let's create four different ways to declare variables, each with subtly different rules that will absolutely destroy newcomers' sanity." And then they had the audacity to add const const which is technically valid syntax. The real horror is that last example where var var lets you mutate your string into whatever Lovecraftian nightmare you want. No wonder half of Stack Overflow is just people asking "why doesn't my variable work?" Ten years of experience and I still occasionally get bitten by this nonsense.
Thanks I Hate Variable Variables
10 months ago
342,890 views
0 shares
javascript-memes, variables-memes, const-memes, var-memes, declaration-memes | ProgrammerHumor.io
More Like This
Which of you did this
2 years ago
160.3K views
0 shares
On Today's Episode Of "What Are You Doing JS?"
1 year ago
375.7K views
0 shares
The Developer's First Words
1 year ago
392.8K views
0 shares
It's Loop
2 years ago
165.2K views
0 shares
NordVPN
Sponsored
VPN
There is a right answer.
3 years ago
164.4K views
0 shares
ChatGPT For $500: The Dream vs Reality
1 year ago
526.7K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++