How to Declare Variables in Javascript

preview_player
Показать описание
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.

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

✌️
Рекомендации по теме
Комментарии
Автор

I enjoyed your Gulp/SCSS from start to finish setup. I was actually able to figure it out myself about two days ago but then I ran into your tutorial and it cleared a lot of gaps in my knowledge about the Gulp/SCSS setup. I hope you keep up with this JS series. As a beginner myself, this is extremely useful and helpful. Thank you for taking time to teach and share your knowledge.

magic_fruit_bat
Автор

Thanks. Very calm and clear explanation. Let's check out the rest of the videos ;-)

remkospaans
Автор

thanks for the tutorial. you sound like michael scott lol :)

rawrsophiex
join shbcf.ru