5 EASY WAYS to Get BETTER at JavaScript

Поділитися
Вставка
  • Опубліковано 20 вер 2024

КОМЕНТАРІ • 18

  • @KW-wx7tk
    @KW-wx7tk 2 роки тому +4

    Great tips! Thanks. I would still be inclined to use e.key. It makes it clear that we are dealing with the event object, and also keeps the start of the arrow function simple and clean.

  • @hichamelas9561
    @hichamelas9561 2 роки тому +1

    Good explained tips, and please I wish from all my heart to provide some tutorial that explain how to create the famous sudoku 9×9 with just vanilla javascript, A lot of people (including me) don't know how to code sudoku in javascript 🤦🏻‍♂️

  • @window.location
    @window.location 2 роки тому +2

    You can also use default values while de-structuring
    const { PORT = 3000 } = process.env
    // defaults to 3000 if process.env.PORT is undefined

  • @BenjaminAster
    @BenjaminAster 2 роки тому +7

    7:52 This is not true. You cannot desctructure functions from a function argument. Just try it out: calling preventDefault() as you have done it here is an illegal invocation, as you cannot store a function that is part of an object in a variable and then call it.

    • @vitorgouveia5378
      @vitorgouveia5378 2 роки тому

      true

    • @dcode-software
      @dcode-software  2 роки тому +1

      Good pick up, thanks. It seems to work when calling a function yourself and passing in an object with a function on it, but not for events.

  • @jasinAmsterdam1976
    @jasinAmsterdam1976 2 роки тому +1

    Superb explanation 👌👌👌

  • @longingbydesign
    @longingbydesign 2 роки тому +1

    10:16 it's not a dollar sign, it's a question mark.

  • @Medo-jr5cu
    @Medo-jr5cu 2 роки тому

    Thank you*🙂🙂🙂🙂🙂

  • @Dexter101x
    @Dexter101x Рік тому

    ? Is dollar sign?

  • @abubalo
    @abubalo 2 роки тому

    Please make multi-step form validation tutorial 🙏 😔

  • @ijajulislam7223
    @ijajulislam7223 2 роки тому

    Want react tutorial series with 10 plus react project

  • @agent-33
    @agent-33 2 роки тому

    Dollar sign, dollar sign? 🤪

  • @VuLe-lm7vc
    @VuLe-lm7vc 2 роки тому

    Lovely❤️

  • @QuakiDerFrosch
    @QuakiDerFrosch Рік тому

    i think your dollarsign in reality might be a € sign!

  • @kvetoslavnovak423
    @kvetoslavnovak423 2 роки тому

    Great tips.
    You have just made a little slip of your tongue in the last one saying $$ instead of ??, right?

  • @abcq1
    @abcq1 2 роки тому

    Wanna be better at JS? Write without variables, go functional)