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
Episode 17: First-Class Functions 🎉🕺🏻🎩
@johndzimbiri7109
21 күн бұрын
Hey can help me financially am a beginner in JavaScript but I want to buy a laptop
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
18 күн бұрын
Comment of the month 🙏 Thank you. Definitely LOL'd at 'out here educating Qoli's'
man you are soooooooo good , please make it 1000 things , 20 isn't enough 🥺👉👈
The only yt vidoes that I like before I even start.
@ColorCodeio
18 күн бұрын
🙏♥️
Very high quality educational material. Thank you Sina
Glad you're back!
I don't know how const a = function () {} is making a function more reusable since we can do function a () {}
Welcome back and thanks for simple but very knowledgable video. Looking forward for the coming ones. Greetings till then. 👏👏
Since I stumbled upon this channel life has been so much easier 👍🏽😄
Yet another valuable video. Keep up the great work!
Long time, glad to see another video.
my favorite javascript channed returned!! thank you for such an interesting topic
دمت گرم داداش خیلی کمک کرد ویدیوت بهم ♥
The Maestro is here
WoW, I'm waiting for the next lesson bebe.
that was indeed awesome
your tutorials are always epic. out of curiosity, what addon is that which allows you to see your js output?
Waiting ✋️ ❤❤❤
very informative
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.
Nice job, incredibly 💜💜💜💥🔥
The goder returns with a bang 🎉
👏 👏 👏 The Qoli joke went over my head though. 🤔
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 ?
Are you going to do courses for us React babies? Seems like a logical next step.
I miss the coli referrence 😂 thanks for this! Great content as always
Eddaje de italiano (slag for "go on with italian")! XD Buongiorno Sina and Qoli!
please make video on Iterators and generators
@junhuama68
5 күн бұрын
Yes Please
BEST TEACHER EEEVVVVEEEEERRRRR ❤🔥❤🔥❤🔥
Of course everyone waits .
Episode 18 : let's go gaming =) By making a JS Game engine, of course, hmm..
Waiting for event loop...
🚀🔥👍
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 :(
Who is Qoli?
@ArefSS
19 күн бұрын
ممد قلی😂
No more writing code in the browser console 😅😂