7 Benefits of First-Class Functions - JavaScript Tutorial

Ғылым және технология

Functions in JavaScript are First-Class. But what does that mean? In this video I explain what the term means, why it matters, and 7 benefits of functions due to their First-Class nature, including examples. Enjoy!
This is episode 17 of 20 things Javascript Developers Should Know But Probably Don't.
00:00:00 Intro
00:01:22 What are First-Class Functions?
00:02:12 #1 Assign them to variables
00:05:04 #2 Pass them in as argument
00:08:41 #3 Return them from other functions
00:13:05 #4 Currying
00:18:01 #5 Closures
00:18:55 #6 Store them in data structures
00:21:35 #7 Anonymous Functions
00:22:50 Summary
00:24:00 Outro
ColorCode Etsy Merchandise store:
www.etsy.com/shop/ColorCodeStore
Full playlist here: • 20 Things JavaScript D...
JavaScript Promises from the series "20 Things JS Developers Should Know but Probably Don't"
by ColorCode.io, Sina Jazayeri
** Announcement **
Full JavaScript Mastery course is coming! Sign up for Early Access here:
www.colorcode.io/js-mastery

Пікірлер: 42

  • @ColorCodeio
    @ColorCodeio22 күн бұрын

    Episode 17: First-Class Functions 🎉🕺🏻🎩

  • @johndzimbiri7109

    @johndzimbiri7109

    21 күн бұрын

    Hey can help me financially am a beginner in JavaScript but I want to buy a laptop

  • @sang9107
    @sang910718 күн бұрын

    Class of an aristocratic artist, face of a high end fashion designer, mind of an IT whiz but he's out here educating Qoli's. F-ing gem

  • @ColorCodeio

    @ColorCodeio

    18 күн бұрын

    Comment of the month 🙏 Thank you. Definitely LOL'd at 'out here educating Qoli's'

  • @samehmohamed324
    @samehmohamed32419 күн бұрын

    man you are soooooooo good , please make it 1000 things , 20 isn't enough 🥺👉👈

  • @_ilearn
    @_ilearn18 күн бұрын

    The only yt vidoes that I like before I even start.

  • @ColorCodeio

    @ColorCodeio

    18 күн бұрын

    🙏♥️

  • @micoberss5579
    @micoberss557921 күн бұрын

    Very high quality educational material. Thank you Sina

  • @NeoTechVision101
    @NeoTechVision10122 күн бұрын

    Glad you're back!

  • @_SABARIVASANS-cy7qw
    @_SABARIVASANS-cy7qw22 күн бұрын

    I don't know how const a = function () {} is making a function more reusable since we can do function a () {}

  • @Tarek_Abdelhafez
    @Tarek_Abdelhafez21 күн бұрын

    Welcome back and thanks for simple but very knowledgable video. Looking forward for the coming ones. Greetings till then. 👏👏

  • @georgeanthony5180
    @georgeanthony518010 күн бұрын

    Since I stumbled upon this channel life has been so much easier 👍🏽😄

  • @thebunsenburner
    @thebunsenburner22 күн бұрын

    Yet another valuable video. Keep up the great work!

  • @Rthymic
    @Rthymic22 күн бұрын

    Long time, glad to see another video.

  • @dylanrh
    @dylanrh22 күн бұрын

    my favorite javascript channed returned!! thank you for such an interesting topic

  • @zanyar-jj9cp
    @zanyar-jj9cp8 күн бұрын

    دمت گرم داداش خیلی کمک کرد ویدیوت بهم ♥

  • @pauladeniyi5876
    @pauladeniyi587622 күн бұрын

    The Maestro is here

  • @mostafavii
    @mostafavii21 күн бұрын

    WoW, I'm waiting for the next lesson bebe.

  • @kunpham7053
    @kunpham705313 күн бұрын

    that was indeed awesome

  • @edhead76
    @edhead7617 күн бұрын

    your tutorials are always epic. out of curiosity, what addon is that which allows you to see your js output?

  • @raghavenderkuppireddy7158
    @raghavenderkuppireddy715822 күн бұрын

    Waiting ✋️ ❤❤❤

  • @HotTracksDieCast
    @HotTracksDieCast20 күн бұрын

    very informative

  • @rconr007
    @rconr00721 күн бұрын

    Great Description and Benefits of the First-Class Functions - Thank you. Is that a pic of Sade I see there in the backgound? LOL I am a fan. Wondering if you are as well.

  • @mdi_dev
    @mdi_dev21 күн бұрын

    Nice job, incredibly 💜💜💜💥🔥

  • @kawalmeetsingh294
    @kawalmeetsingh29421 күн бұрын

    The goder returns with a bang 🎉

  • @rjerez
    @rjerez21 күн бұрын

    👏 👏 👏 The Qoli joke went over my head though. 🤔

  • @hodapro3394
    @hodapro339421 күн бұрын

    when you go to a new word I found that you clicked something to select or highlight thee whole word how do you do that ?

  • @junhuama68
    @junhuama685 күн бұрын

    Are you going to do courses for us React babies? Seems like a logical next step.

  • @user-kn4oi9oh4i
    @user-kn4oi9oh4i21 күн бұрын

    I miss the coli referrence 😂 thanks for this! Great content as always

  • @IlPandax
    @IlPandax21 күн бұрын

    Eddaje de italiano (slag for "go on with italian")! XD Buongiorno Sina and Qoli!

  • @struggler4448
    @struggler444819 күн бұрын

    please make video on Iterators and generators

  • @junhuama68

    @junhuama68

    5 күн бұрын

    Yes Please

  • @krypton_dev
    @krypton_dev20 күн бұрын

    BEST TEACHER EEEVVVVEEEEERRRRR ❤‍🔥❤‍🔥❤‍🔥

  • @user-tq6kn5bv8h
    @user-tq6kn5bv8h22 күн бұрын

    Of course everyone waits .

  • @nicolasseydoux5985
    @nicolasseydoux598521 күн бұрын

    Episode 18 : let's go gaming =) By making a JS Game engine, of course, hmm..

  • @redwansikder3847
    @redwansikder384720 күн бұрын

    Waiting for event loop...

  • @patelronak153
    @patelronak15322 күн бұрын

    🚀🔥👍

  • @dean4763
    @dean47636 күн бұрын

    Sir, you consistently have really good quality content but why on earth do you insist on having background music on all your videos? I find it very distracting and annoying as hell. Just saying, i know I'm not alone in thinking it :(

  • @insteresting
    @insteresting21 күн бұрын

    Who is Qoli?

  • @ArefSS

    @ArefSS

    19 күн бұрын

    ممد قلی😂

  • @Wakkyguy
    @Wakkyguy20 күн бұрын

    No more writing code in the browser console 😅😂

Келесі