JavaScript ES6 Arrow Functions Tutorial

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

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

  • @codeSTACKr
    @codeSTACKr  5 лет назад +2

    Thanks for all of the support!!
    Next up JavaScript Crash Course:
    ruclips.net/video/d5ob3WAGeZE/видео.html
    📚 My Favorite Web Design Books 📚
    Web Design with HTML, CSS, JavaScript and jQuery Set by Jon Duckett (paid link)
    amzn.to/2JaiCL8

  • @thetowerfantasymusic
    @thetowerfantasymusic 3 года назад +8

    This is the simplest, slow paced (which is good) and most straightforward video i've seen. For a junior Front-end Dev, I never could understand these from other youtubers because they're all over the place.

  • @zackcordle4814
    @zackcordle4814 2 года назад +1

    Very easy to understand thank you. For some reason I had trouble wrapping my head around arrow functions but this made the subject so much more comprehensible.

  • @nostalgic6979
    @nostalgic6979 4 года назад +1

    I watched other videos about arrow functions and they confused me a lot, I almost gave up on the whole thing..then I found this lesson, well explained and very clear..thank you sir for saving me

  • @ickimadrasi8965
    @ickimadrasi8965 5 лет назад +10

    Great series, I love it, can't wait for the React.Js

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

    i can say this is one the top three js course in youtube thank you for sharing your knowledge with us

  • @mizaelparedesvielma8221
    @mizaelparedesvielma8221 5 лет назад +4

    This video was really like taking off in some details that I wasn't sure about. Thank you so much.

  • @shahidullahmiazi
    @shahidullahmiazi 4 года назад +2

    Now Arrow function is mine পানি ভাত। ধন্যবাদ a lots.

  • @najimali32
    @najimali32 4 года назад +1

    I was messed with arrow function & now you make it easy to learn.
    thanks a lot, man!!

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

    Good overview of arrow functions with examples. Thanks!

  • @TheDevilscrap
    @TheDevilscrap 2 года назад +1

    Great video, essential and clear , thx

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

    Great video and finally understood it - would be nice to also explain how arrow functions affect hoisting.

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

    this 9 mints video explained everything about arrow thanks man

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

    Thanks for a very concise explanation of arrow functions. Exactly what I needed.

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

    Thanks for this. Explained perfectly.

  • @Lyrik-Klinge
    @Lyrik-Klinge 2 года назад

    Great stuff, THANKS 🙂

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

    pretty good video!

  • @felix-ej9in
    @felix-ej9in 3 года назад +1

    well explained

  • @ridwanajibari4443
    @ridwanajibari4443 4 года назад

    thanks for your explanation, subscribed. btw what extension u used to see the result directly in terminal once you saved the file?

    • @najimali32
      @najimali32 4 года назад

      he is using live server.

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

    Please how do you make the console below to show the output of your JS code. please am really confused. i can't run my js, only on VS code

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

    for console how you are opeing in vs code? what is the extension???

  • @VK-yk7sx
    @VK-yk7sx 3 года назад +1

    Good 👍

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

    Man, you are The Wizard of all MF Wizards! thanks, bruh I appreciate it

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

    how can i see the console in vs
    Code ?

  • @harshal.rathore
    @harshal.rathore 2 года назад

    So is an anonymous function same as the Lambda function of python??

  • @STRIPPEDSTAR
    @STRIPPEDSTAR 4 года назад +1

    That was great)

  • @FrancoisBeyers
    @FrancoisBeyers 5 лет назад +2

    what extension do you use to console log in VS Code?

    • @codeSTACKr
      @codeSTACKr  5 лет назад +5

      Well.. it's kind of a trick. If you look closely, the bottom of the VS Code window stops above the console. It's actually the chrome console running via the live server extension in VS Code :)
      But if you do want to run it within VS Code you could use the terminal and Node.js.

    • @FrancoisBeyers
      @FrancoisBeyers 5 лет назад

      codeSTACKr haha yeah I was watching one of your other videos and then got the idea that is the chrome console.

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

    nice💕💕👌👌

  • @lilibethepis5867
    @lilibethepis5867 4 года назад

    how did you get console at vscode?

    • @codeSTACKr
      @codeSTACKr  4 года назад

      It's just the Chrome console

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

    anyone know of a tutor that can help me with javascript? I am so lost. I am taking a javascript class right now and we had a hw assignment and it took me forever to figure out normal JS syntax and then they want us to rewrite that assingment using arrow functions and I have never cried so much. Its been 3 weeks i've been staring at the same function trying to figure out how to change it to an arrow function!!

  • @milenastankovic4706
    @milenastankovic4706 4 года назад

    Why you used ${a} when you returned the string??

    • @codeSTACKr
      @codeSTACKr  4 года назад

      a is the variable that will be placed into the string.

  • @gill78618
    @gill78618 4 года назад

    thanks im a beginner and
    im thirteen

  • @jx4997
    @jx4997 5 лет назад

    Hi, thanks for making the video, I watched most of your videos on your channel. Enjoying watching them. :) When I followed this video, I got an error (SCRIPT5007: Unable to get property 'addEventListener' of undefined or null reference) when running the codes at ruclips.net/video/NAN7U3MrX6o/видео.html (6:11), found that it could due to demo is not declared before load event. Just wondering why you did not have the same problem.

    • @codeSTACKr
      @codeSTACKr  5 лет назад

      Where in your index.html file are you loading the JavaScript file? If you are loading it in the head of the document you could get this error. It should be just before the closing tag. Give that a try and let me know.
      Thanks for your support!

    • @jx4997
      @jx4997 5 лет назад +2

      ​@@codeSTACKr Bingo, that was the issue. Fixed. Thanks!

  • @davidschwartz2485
    @davidschwartz2485 5 лет назад +1

    when i try to run the code with let message = (a) => 'hello ${a}; and then console.log it, everytime i save i lose the parethesis around the a and then the console log is hello ${a} only . why does vs code format like this and lose the parenthesis? its been driving me nuts. i tried adding the brackets back after the arrow and still the same thing happens. any ideas why?

    • @codeSTACKr
      @codeSTACKr  5 лет назад

      The parenthesis are optional there. It's being removed by one of your installed extensions but should not be an issue. Are you using backticks around the string? `hello ${a}`

    • @davidschwartz2485
      @davidschwartz2485 5 лет назад

      @@codeSTACKr yes i just keep getting the "hello ${a}" instead of Hello John. i checked my extensions and installed eslint and changed my formatter from prettier so that the punctuation stays the same. neither of those options are working. appreciate the help

    • @johncarloformentera2678
      @johncarloformentera2678 4 года назад

      Use backticks(` `) sir instead of quotations (" ").

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

    You talk like you're about to fall asleep!

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

    Your Java Script videos on your roadmap are bad, they not precise! you didn't explain if the console not showing result in liveserver, how we can solve the problem in order to be able to follow your course!, in the HTML course, for example, you do not explain the file path I don't know why this is so important for beginners!?