#39 Understanding JavaScript Scope | JavaScript Full Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ค. 2024
  • 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
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    ------------------
    👍 HTML FULL TUTORIAL: shorturl.at/fiCMV
    👍 CSS FULL TUTORIAL: shorturl.at/clGSZ
    ------------------
    FACEBOOK: / devdreamercode
    TWITTER: / devdreamercode
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    ------------------
    Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)

ความคิดเห็น • 18

  • @michaelkatiba
    @michaelkatiba 2 ปีที่แล้ว +8

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

  • @ifunanyablessing3411
    @ifunanyablessing3411 8 หลายเดือนก่อน +1

    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. ❤❤

  • @iruga7379
    @iruga7379 ปีที่แล้ว +2

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

    • @DevDreamer
      @DevDreamer  ปีที่แล้ว

      Amazing! Thanks for watching 🙂👍

  • @dontnowatimdoing446
    @dontnowatimdoing446 8 หลายเดือนก่อน

    Underrated channel. Great job

  • @vamsikrishna4972
    @vamsikrishna4972 8 หลายเดือนก่อน +1

    thanks bro u cleared all my doubts

  • @kiranshelar2961
    @kiranshelar2961 2 ปีที่แล้ว +1

    Excellent explanation 👍🏻👍🏻🔥

  • @MrFlamerFuel
    @MrFlamerFuel 2 ปีที่แล้ว +1

    lesson 38+39 earned you a sub! ;)

  • @itsnobledean9450
    @itsnobledean9450 10 หลายเดือนก่อน

    Consistent. Informative. Knowledgeable.

  • @meysam8357
    @meysam8357 ปีที่แล้ว

    amazing video thank you

  • @dreamscomingtrue2446
    @dreamscomingtrue2446 11 หลายเดือนก่อน

    thanks man .I understood it .

  • @appustudio8637
    @appustudio8637 2 ปีที่แล้ว +1

    cool! thanks for the update.

  • @JimmyKama
    @JimmyKama ปีที่แล้ว

    This a a great tutorial!👍👍👍

  • @goranstanarevic1411
    @goranstanarevic1411 ปีที่แล้ว +1

    man you're great

  • @prabu2778
    @prabu2778 2 ปีที่แล้ว +1

    You got a new subscriber today

  • @ifunanyablessing3411
    @ifunanyablessing3411 8 หลายเดือนก่อน

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

  • @kiranshelar2961
    @kiranshelar2961 2 ปีที่แล้ว +2

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

  • @danielbentum136
    @danielbentum136 ปีที่แล้ว

    // WHAT IS WRONG WITH THIS AND WHY????
    const numbers1 = [45, 4, 9, 16, 25];
    const numbers2 = numbers1.map(myFunction);
    document.getElementById("demo").innerHTML = numbers2;
    let double = 2;
    function myFunction(value, index, array) {
    value *= double;
    return value
    }