Menu
CSS is awesome { overflow: hidden; }
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Block-scope Memes
Posts tagged with Block-scope
How Using Let Feels
Javascript
Programming
Frontend
Webdev
4 months ago
33.7M views
0 shares
When you finally start using let instead of var , it feels like divine intervention. Block scope? No more accidental hoisting disasters? Variables that actually stay where you declare them? It's like JavaScript finally grew up and decided to stop embarrassing itself at family gatherings. The biblical format here is chef's kiss because using let genuinely feels like a religious awakening. You declare let light = true and it actually equals true in that scope, not mysteriously undefined three lines earlier due to hoisting shenanigans. No more debugging sessions where you're questioning your entire existence because var decided to leak into the global scope like a poorly written closure. Truly, ES6 blessed us that day. Amen.
Today's picks
Employee Vs Freelancer Vs Founder Vs Vibe Coder
Programming
291.2M views
12 days ago
Design Flaw
Programming
111.1K views
2 years ago
Eat Sleep Code Repeat White Coffee Mug Gift For Women Men Programmer, Customized Name Coder IT Coffee Cup 11Oz 15Oz, Personalized Programming Programmer Ceramic Mug, Unique Coding Code Travel Teacup
Affiliate
$10.49