JavaScript "this" Keyword Explained

Поделиться
HTML-код
  • Опубликовано: 15 ноя 2024

Комментарии • 39

  • @boyacosweep
    @boyacosweep Год назад

    Please make more videos explaining this stuff. I must have watched like 7 in which they all explained it in the most confusing way or only within the context of objects. The freecodecamp one was BRUTAL.

  • @qcmira2024
    @qcmira2024 3 года назад +2

    Oh my god ! You made it so simple and easy to understand something I’ve spent hours trying to understand properly ! Thanks man !

  • @sohimurosohimuro322
    @sohimurosohimuro322 2 года назад

    The only video on RUclips that actually did explain what "this" is. Thank You!

    • @dcode-software
      @dcode-software  2 года назад

      Glad it helped you!

    • @amitkumargupta-
      @amitkumargupta- 2 года назад

      I bet , You'll forget this after this video. this is the nature of this

  • @TheLuckyyy13
    @TheLuckyyy13 3 года назад

    The part with event listeners is exactly what i was looking for and didnt find in any other tutorial. Now i got it. Thanks.

  • @aravindelumalai8727
    @aravindelumalai8727 2 года назад

    what theme for editor you are using? its simply looks cool

  • @Pareshbpatel
    @Pareshbpatel Год назад

    Nice introduction to the "this" keyword/concept. Thanks, Dom.
    {2023-06-19}

  • @justtestingmycurrentskills747
    @justtestingmycurrentskills747 3 года назад +2

    Dcode, can you make a tier list of programming languages or frameworks? Would be interesting to hear your opinion.

  • @jmmmmmmmmmk
    @jmmmmmmmmmk 3 месяца назад

    Thank you you explained this very well

    • @dcode-software
      @dcode-software  3 месяца назад

      I'm glad to hear it. I think it's actually a lot simpler than most people think.

  • @rostyslav5334
    @rostyslav5334 3 года назад

    5:36 - the most confusing part of JS 'this' keyword - is arrow functions

  • @jamesmassa1999
    @jamesmassa1999 3 года назад +1

    This video was informative. Thanks again, Dom!

  • @ChrisAthanas
    @ChrisAthanas 3 года назад

    Speaking about the keyword "this" and the location "this" is S U P E R C O N F U S I N G

    • @ChrisAthanas
      @ChrisAthanas 3 года назад

      We need a better way to speak about the keyword vs the location identifier

  • @sandip_bettereveryday
    @sandip_bettereveryday 3 года назад

    Thanks for keeping it so simple.

  • @starterdev
    @starterdev 3 года назад

    Please make a video about idempotent, and other concepts like this

  • @Dexter101x
    @Dexter101x 3 года назад +1

    Brilliant, just what I wanted

  • @emperoroftheearth3215
    @emperoroftheearth3215 3 года назад

    Thanks .. i understood it well now. Thanks again

  • @solguatelli9130
    @solguatelli9130 3 года назад

    Great explanation!

  • @rolandpierrelouis4013
    @rolandpierrelouis4013 3 года назад

    Hi my friend..thanks for this great video. Do you have some videos about Design Patterns please ?

  • @taunado
    @taunado 2 года назад

    Thanks!

  • @YellowPanamka
    @YellowPanamka 3 года назад

    Man if i had teacher like you before, i would have doctor's degree in programming already.

  • @josephwong2832
    @josephwong2832 3 года назад

    wow dude I finally understand!!

  • @rangabharath4253
    @rangabharath4253 3 года назад +1

    Awesome 👍

  • @henryshen5445
    @henryshen5445 2 года назад

    I found that it will work for function(){}, but if you use ()=>{} the arrow function won't work. Video around 3:20

  • @zomalee4512
    @zomalee4512 3 года назад

    Dom you cover php??

    • @dcode-software
      @dcode-software  3 года назад

      Not entirely, but I have used it in previous videos

  • @amonraii7273
    @amonraii7273 3 года назад

    Who you're kidding man. If you're 50 years old, then I'm Marlin Brando

  • @beinyourguard
    @beinyourguard 3 года назад

    thanks!

  • @bangias9166
    @bangias9166 3 года назад

    Love it

  • @DavidJJJ
    @DavidJJJ 3 года назад +4

    How do you know a programming language is broken? It takes almost 8 minutes to describe the meaning of one word.

  • @jaybanks7718
    @jaybanks7718 3 года назад

    Don't understand why you would use "this" simply for readability reasons, given that it can mean different things when used in different circumstances, and it isn't always obvious in which context it is being used. For many years, I have kind of stayed on the server side, because it seemed like Javascript was developed by teens that made it up as they went along. Stuff like "this" makes me think I was right.