Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; COUNT_CLASS has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/functions.php on line 1713

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; sidebar_generator has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/plugins/multiple_sidebars.php on line 29

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_video_widgets has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/video.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_soundcloud has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/soundcloud.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_counter_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-counter.php on line 9

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_news_in_pic has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/new-in-pic.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Flickr_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/flickr.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_fb_likebox has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/fb.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_google_follow has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/google-follow.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_popular has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/popular-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_recent_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/recent-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_cate_posts has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/category-posts.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; tabs_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/tabs.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_youtube_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/youtube-subscribe.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_social_links has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/social-links.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_comments_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/comments.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_author_bio has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/bio-author.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_login has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/login.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_search_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/search.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_120_600_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads120.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_125_125_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads125.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_250_250_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads250.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_300_300_Widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/ads300.php on line 7

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_tweets_load has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/twittes.php on line 10

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; feedburner_widget has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/newsletter.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_related has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/related.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_slider has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/slider.php on line 6

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bd_top_rate has a deprecated constructor in /var/www/vhosts/eduardoarellano.com/d4mations.com/wp-content/themes/renad/includes/widgets/top-review.php on line 6
Fat Arrow Functions JavaScript Programming Tutorial | D4mations.com
  • Thursday , 25 April 2019

Fat Arrow Functions JavaScript Programming Tutorial

Code Canyon



Lesson Code: http://www.developphp.com/video/JavaScript/Fat-Arrow-Functions-JavaScript-Programming-Tutorial

Crash course on using the new Arrow functions in JavaScript, introduced in ECMAscript Edition 6 to provide a new approach to writing anonymous functions. Arrow functions have 2 major advantages over traditional anonymous functions. (a) They reduce the amount of code you need to write. (b) In object oriented programming, the “this” keyword always refers to the object no matter how many anonymous functions are nested in the class. We will demonstrate these concepts through code right now starting with the most basic.

They are Anonymous functions. Anonymous functions are functions that have no name like normal functions do. We see them used as parameters in methods that expect exectuable code as an argument. Anonymous functions are used in object oriented programming, or they are sometimes supplied as the value of a named variable.

We will compare traditional Anonymous function syntax with arrow function syntax side by side using several simple examples in order to demonstrate where, when and how to use arrow functions where you normally use anonymous functions.

Original source

3d Ocean

Related Posts

39 Comments

  1. German Hoyos
    March 24, 2019 at 16:09

    How is it even possible to dislike this video. People are just haters

  2. Jodedor azul
    March 24, 2019 at 16:09

    your video is very supericial, i don not call this elemntary video like a tutorial is is vaery basic, thanks for nothing..

  3. Maravarman Manoharan
    March 24, 2019 at 16:09

    Thanks

  4. Deep Roy
    March 24, 2019 at 16:09

    thank you so much

  5. Jenson27
    March 24, 2019 at 16:09

    sadly to understand this video u really need to know ur oop concept well first other than that its really good and detailed explanation

  6. Øath betrayer
    March 24, 2019 at 16:09

    sort of confusing because I feel like im thinking in circular logic or catch 22's… x= a but a=x because var is x and a is passed in.

  7. Richard Ns
    March 24, 2019 at 16:09

    Are you Lebanese ?
    and nice video thanks

  8. intermarer
    March 24, 2019 at 16:09

    This is an affront to God. JS is fugly

  9. André Ribeiro
    March 24, 2019 at 16:09

    Nice Tutorial 🙂

  10. Semantron
    March 24, 2019 at 16:09

    Amazing and simple. You explained something in 12 minutes that somebody in an hour isn't capable of…

  11. Jimmy Ellis
    March 24, 2019 at 16:09

    React.js uses this a lot so I used your video to uinderstand them thanks

  12. Josh3292
    March 24, 2019 at 16:09

    9:51 Why?

  13. judo nomi
    March 24, 2019 at 16:09

    ˈeksəˌkyo͞odəb(ə)l

  14. symi Khan
    March 24, 2019 at 16:09

    If i have to give reference of setInterval() function, then what i do ?

  15. Anthony Finix
    March 24, 2019 at 16:09

    Make a playlist about new changes in js

  16. juba AGOUN
    March 24, 2019 at 16:09

    Thanks for your great examples !
    In the next you should maybe talk about having the result of a function as a variable.

  17. Manda Putra
    March 24, 2019 at 16:09

    Oh man youre jenius

  18. Navid Ansari
    March 24, 2019 at 16:09

    Watching this video for the interview purpose. Most clear explaination of context (this) problem. Thanx buddy

  19. Gamal Abdall
    March 24, 2019 at 16:09

    Adam, Is there any more ES6 Videos for you online? Thanks.

  20. Gamal Abdall
    March 24, 2019 at 16:09

    You are the best one ever who explained this ES6 Arrow Function, Thanks a million you have made my day.

  21. Rakesh Maurya
    March 24, 2019 at 16:09

    thanks. my doubt is cleared.

  22. Joshua Daza Rincon
    March 24, 2019 at 16:09

    Master Chief are You???

  23. Akash Kumar Khatri
    March 24, 2019 at 16:09

    Excellent Tutorial

  24. Michael K
    March 24, 2019 at 16:09

    Thanks, Adam, for the video. It helped a lot.

    I like the new fat arrow function, but I'm not a big fan of omitting () when there is only one variable passed to an anonymous function.

    Seeing () or (…) makes it stand out more as a function, especially during transition to this new feature. It's more explicit, but still more brief than the original syntax.

    Where I really see this feature stand out is the fact it is truly "anonymous" (i.e. not having its own "this"), without having to work around it with clunky "self" or "that" code, which is certainly not more readable or intuitive.

    Thanks, again.

  25. 30G
    March 24, 2019 at 16:09

    You are way better than the hour long tutorials.

  26. Michael Ros
    March 24, 2019 at 16:09

    I hope this is not too weird of a compliment, but your accent is really cool. Especially how you pronounce your "u"'s like in "function" . Could I ask from where it hails?

  27. ROBLOXowns Productions
    March 24, 2019 at 16:09

    Awesome examples!

  28. ØBruce._.waynez
    March 24, 2019 at 16:09

    looks like a face =>

  29. keshavcool7
    March 24, 2019 at 16:09

    var comment = "Nice Tutorial 🙂 ";
    <p id="a"></p>
    document.getElementById("a").inhherHTML = comment;

  30. nanda gowtham
    March 24, 2019 at 16:09

    thank u sir but last lo artham kale….

  31. Aaron R
    March 24, 2019 at 16:09

    AK you are a legend. Definitely in my top 5 gurus, Thanks for explaining this clearly

  32. Crazy Sarah
    March 24, 2019 at 16:09

    How many of you R using SOLOLEARN app

  33. Crazy Sarah
    March 24, 2019 at 16:09

    How many of you r Sololearn App

  34. Crazy Sarah
    March 24, 2019 at 16:09

    Great Tutorial👍👍

  35. Smartphone David
    March 24, 2019 at 16:09

    Thanks for this tutorial. Having coded in regular Java for years now, these arrow functions looked so weird to me. Now I understand how they work!

  36. PCFreak
    March 24, 2019 at 16:09

    Great explanation, thanks!

  37. Moustafa Attia
    March 24, 2019 at 16:09

    Brilliant video, keep up the good work.

  38. Adam Darski
    March 24, 2019 at 16:09

    var x = (message) => {alert(message);};
    x("Great explanation!!, thank you for this video, now I know what the weird arrow means");

  39. Musedoom
    March 24, 2019 at 16:09

    Thank you very much, it was very useful and easy to understand

Leave A Comment

You must be logged in to post a comment.