Become a member
Sign in
Chosen
Chosen

Chosen

6 Following
1 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Chosen

See more

From JavaScript let const and var by Steve Smith

…es where you can’t, like when you’re writing a loop. In that case, you should default to using let. Let is block scoped just like const, but can be re-assigned, as is required by looping constructs like for loops.

From JavaScript let const and var by Steve Smith

…an still change its properties, etc.), it does at least protect the instance from being reassigned. Another reason to prefer const over var is that it is block scoped, not function scoped. That means you won’t accidentally add const-defined variables to the global scope if you define them within a block (such as part of an if statement or loop) but not within a function.

Claps from Chosen

See more

Build A Real World Beautiful Web APP with Angular 8 — A to Z Ultimate Guide (2019) — PART I

Hamed Baatour

Everything You Need to Know About PWAs

Indrek Lasn

What they don’t tell you about event sourcing

Hugo Rocha