#39 Understanding JavaScript Scope | JavaScript Full Tutorial

preview_player
Показать описание
In this lesson we learn all about JavaScript Scope, understanding scope is a really important part of learning JavaScript, in this lesson we'll do a deep dive and cover global scope, local scope, functional scope and block scope, we'll also see how these all relate to the differences between var, let and const.

0:00 - Intro
0:42 - What is Scope?
1:21 - Global Scope
2:35 - Local Scope
7:27 - Functional Scope
9:20 - Block Scope
11:29 - Lesson Summary
12:19 - Lesson Tasks
15:30 - Outro and Up Next

------------------

------------------

------------------
Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)
Рекомендации по теме
Комментарии
Автор

Excellent presentation. In the lesson task we might want to use the wording "what output will the code produce?", rather than "what will it return?", as in a lot of cases both have a defined answer and are different.

jvsnyc
Автор

Thank you so much @Dev Dreamer. I am lucky to have discovered your channel. So basically, I use a paid course to learn JavaScript so that I can study using the correct road map, but I use your channel to understand each concept like it's been explained to me one on one in a classroom. ❤❤

ifunanyablessing
Автор

You should have millions of subscribers

handmadeandmore
Автор

Fantastic. You just killed all my doubts about why we should be using LET instead of VAR.

iruga
Автор

Well explained, you'all remember to subscribe, you won't regret it!

michaelkatiba
Автор

Consistent. Informative. Knowledgeable.

itsnobledean
Автор

would appreciate if u can make more videos on advanced JavaScript and React framework

ifunanyablessing
Автор

Are you planning to do javascript interview exercises too, at the end of this course?

kiranshelar
Автор

<script>
// WHAT IS WRONG WITH THIS AND WHY????

const numbers1 = [45, 4, 9, 16, 25];
const numbers2 = numbers1.map(myFunction);
= numbers2;
let double = 2;
function myFunction(value, index, array) {
value *= double;
return value
}
</script>

danielbentum
join shbcf.ru