Перейти к содержимому

JavaScript Variables Explained: let, const & var

WebDev With Jas

0:00 / 0:00

JavaScript Variables Explained: let, const & var

22 просмотра · 3 нед. назад
WebDev With Jas
2 подписчика
22 просмотра · 3 нед. назад
Learn about JavaScript variables from the scratch. In this beginner-friendly JavaScript lesson, you'll learn what variables are, how let, const, and var work, how reassignment works, and how to choose clear variable names. In this video, you'll learn: • What a JavaScript variable is • How to declare and assign variables • What undefined means • How reassignment works with let • Why const cannot be reassigned • The difference between let and const • Why var is the older declaration style • How to name variables clearly • How to use camelCase • How variables work in a real-world example ⏱️ CHAPTERS 00:00 Introduction 00:49 What Is a JavaScript Variable? 01:39 Declaring a Variable 02:28 Running JavaScript Code 02:45 What Is undefined? 03:26 Reassigning a Variable 04:40 Understanding const 05:55 let vs const 06:44 What Is var? 07:17 Naming Variables 08:25 Using camelCase 09:13 Real-World Example 11:50 The Big Idea Behind Variables 12:34 Recap 13:30 Next Lesson This video is part of a beginner-friendly journey through full-stack web development and JavaScript fundamentals. Next lesson: JavaScript Numbers & Operators #JavaScript #WebDevelopment #Programming