#41 What is the 'this' keyword? | JavaScript Full Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • In this lesson we learn all about the 'this' keyword, we'll explore what it is, the different contexts in which it can be used and defined, and of course we'll look at a ton of examples throughout.
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    0:00 - Intro
    0:43 - Four ways 'this' can be defined
    0:59 - 'this' in the global context
    3:30 - 'this' in a method
    5:00 - 'this' in nested objects
    6:43 - 'this' in DOM event handlers
    8:13 - Lesson Summary
    9:03 - Lesson Tasks
    11:55 - Outro and Up Next
    ------------------
    👍 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

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

    Hey guys, if you found this video helpful you can support me by clicking the Like button above 👍 and Subscribe for more, thank you!

  • @kharisonkwarteng5972
    @kharisonkwarteng5972 4 วันที่ผ่านมา +1

    🎉You earned my sub. Great work, very understandable! 👍

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

    Highly Recommended JavaScript Course

  • @kardelenkoc9746
    @kardelenkoc9746 10 หลายเดือนก่อน +1

    for some reason seeing tails as an example gives me joy. im more of a rouge fan but tails is so cute

  • @daze4877
    @daze4877 7 หลายเดือนก่อน

    It took me a couple of weeks to get here but I am excited to finish this playlist. Thank you so much!

  • @user-rq4jz3or4t
    @user-rq4jz3or4t ปีที่แล้ว +3

    I have watched plenty of videos on TH-cam and found this one to be the best explanation among all others . Thanks

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

    this has been confusing to me before, thank you for clearing it up!

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

    I was struggling with this, thanks for the explanation

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

    This video is useful, enjoying these videos thanks

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

    You are a great tutor. Glad that you mentioned C.S. Lewis, the great thinker. 👍👍👍

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

    Hey Amit, do you have a video of DOM Manipulation in your series because I cannot find it if it's there or perhaps you've named it differently?! Thank you and you rock!

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

    Life without dev dreamer for me will be like a website without js codes

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

      Thank you 🙂👍

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

    Great explanation. You could have included "this" in Arrow function in "this" video !

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

      Hey Suyash, thank you. I intentionally held back on doing this because we'll be covering Arrow Functions and how they don't have their own 'this' binding, in detail in Lesson #46 🙂👍

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

    Bro you've got to finish this JS lessons, pleasee

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

      New content coming very soon 🙂

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

    Why is "this" keyword not working in "user". For example: "user.name" instead of "this.name"