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
1 year ago
390,371 views
0 shares
javascript-memes, variables-memes, const-memes, var-memes, declaration-memes | ProgrammerHumor.io
More Like This
When Your Framework Is Next Gen But Their Site Is 1999
1 year ago
452.0K views
0 shares
Stop People Stealing Website Images: The Escalating Madness
1 year ago
463.7K views
0 shares
Not False Is True
1 year ago
575.2K views
1 shares
Immediate requirement!!
3 years ago
498.8K views
0 shares
Logitech HD Pro Webcam C920, Widescreen Video Calling and Recording, 1080p Camera, Desktop or Laptop Webcam
Affiliate
Webcams
Logitech
Call stack
4 years ago
232.6K views
0 shares
Learn Css
1 year ago
321.2K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++