Рет қаралды 2,923
I’m starting a series for absolute beginners. I’ll add these videos every few weeks and slowly build out a beginner playlist for those new to Javascript.
In today’s video, we’ll walk through a brief overview of the basics of declaring variables in Javascript.
(prefer an article? chrispennington.blog/blog/how...)
TLDR;
1. Use const by default, let when necessary, and var never
2. Name variables with descriptive names in camelCase
3. Assign any value to variables
✌️