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
11 months ago
357,476 views
0 shares
javascript-memes, variables-memes, const-memes, var-memes, declaration-memes | ProgrammerHumor.io
More Like This
Overthink JavaScript
1 year ago
428.0K views
0 shares
i saw this on google and Can someone explain some of these in JS logic to me? I get some of them but some makes no sense to me
3 years ago
171.9K views
0 shares
When UI Bugs Reveal Your Age
1 year ago
339.3K views
0 shares
How does one order a cup of java in java
3 years ago
195.2K views
0 shares
Next Nest Nuxt: The JavaScript Name Game
1 year ago
413.2K views
0 shares
The Developer's First Words
1 year ago
403.0K views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++