7 Benefits of First-Class Functions - JavaScript Tutorial

  Рет қаралды 4,024

ColorCode

ColorCode

Күн бұрын

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

Пікірлер: 43
@ColorCodeio
@ColorCodeio 24 күн бұрын
Episode 17: First-Class Functions 🎉🕺🏻🎩
@johndzimbiri7109
@johndzimbiri7109 23 күн бұрын
Hey can help me financially am a beginner in JavaScript but I want to buy a laptop
@sang9107
@sang9107 20 күн бұрын
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 20 күн бұрын
Comment of the month 🙏 Thank you. Definitely LOL'd at 'out here educating Qoli's'
@samehmohamed324
@samehmohamed324 21 күн бұрын
man you are soooooooo good , please make it 1000 things , 20 isn't enough 🥺👉👈
@_ilearn
@_ilearn 21 күн бұрын
The only yt vidoes that I like before I even start.
@ColorCodeio
@ColorCodeio 20 күн бұрын
🙏♥️
@micoberss5579
@micoberss5579 24 күн бұрын
Very high quality educational material. Thank you Sina
@NeoTechVision101
@NeoTechVision101 24 күн бұрын
Glad you're back!
@_SABARIVASANS-cy7qw
@_SABARIVASANS-cy7qw 24 күн бұрын
I don't know how const a = function () {} is making a function more reusable since we can do function a () {}
@Rthymic
@Rthymic 25 күн бұрын
Long time, glad to see another video.
@Tarek_Abdelhafez
@Tarek_Abdelhafez 24 күн бұрын
Welcome back and thanks for simple but very knowledgable video. Looking forward for the coming ones. Greetings till then. 👏👏
@thebunsenburner
@thebunsenburner 24 күн бұрын
Yet another valuable video. Keep up the great work!
@pauladeniyi5876
@pauladeniyi5876 24 күн бұрын
The Maestro is here
@alokjha3153
@alokjha3153 21 сағат бұрын
Man you do such a great job in explaining the concepts. I am loving the videos and also retaining the information i receive. Hoping to get a react tutorial too.
@dylanrh
@dylanrh 24 күн бұрын
my favorite javascript channed returned!! thank you for such an interesting topic
@georgeanthony5180
@georgeanthony5180 13 күн бұрын
Since I stumbled upon this channel life has been so much easier 👍🏽😄
@raghavenderkuppireddy7158
@raghavenderkuppireddy7158 24 күн бұрын
Waiting ✋️ ❤❤❤
@kunpham7053
@kunpham7053 15 күн бұрын
that was indeed awesome
@HotTracksDiecast
@HotTracksDiecast 23 күн бұрын
very informative
@mostafavii
@mostafavii 23 күн бұрын
WoW, I'm waiting for the next lesson bebe.
@zanyar-jj9cp
@zanyar-jj9cp 10 күн бұрын
دمت گرم داداش خیلی کمک کرد ویدیوت بهم ♥
@edhead76
@edhead76 19 күн бұрын
your tutorials are always epic. out of curiosity, what addon is that which allows you to see your js output?
@rconr007
@rconr007 23 күн бұрын
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.
@hodapro3394
@hodapro3394 24 күн бұрын
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 ?
@mdi_dev
@mdi_dev 24 күн бұрын
Nice job, incredibly 💜💜💜💥🔥
@kawalmeetsingh294
@kawalmeetsingh294 24 күн бұрын
The goder returns with a bang 🎉
@rjerez
@rjerez 24 күн бұрын
👏 👏 👏 The Qoli joke went over my head though. 🤔
@user-kn4oi9oh4i
@user-kn4oi9oh4i 23 күн бұрын
I miss the coli referrence 😂 thanks for this! Great content as always
@struggler4448
@struggler4448 21 күн бұрын
please make video on Iterators and generators
@junhuama68
@junhuama68 8 күн бұрын
Yes Please
@junhuama68
@junhuama68 8 күн бұрын
Are you going to do courses for us React babies? Seems like a logical next step.
@IlPandax
@IlPandax 24 күн бұрын
Eddaje de italiano (slag for "go on with italian")! XD Buongiorno Sina and Qoli!
@krypton_dev
@krypton_dev 23 күн бұрын
BEST TEACHER EEEVVVVEEEEERRRRR ❤‍🔥❤‍🔥❤‍🔥
@user-tq6kn5bv8h
@user-tq6kn5bv8h 24 күн бұрын
Of course everyone waits .
@nicolasseydoux5985
@nicolasseydoux5985 24 күн бұрын
Episode 18 : let's go gaming =) By making a JS Game engine, of course, hmm..
@redwansikder3847
@redwansikder3847 23 күн бұрын
Waiting for event loop...
@dean4763
@dean4763 8 күн бұрын
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
@insteresting 24 күн бұрын
Who is Qoli?
@ArefSS
@ArefSS 22 күн бұрын
ممد قلی😂
@Wakkyguy
@Wakkyguy 23 күн бұрын
No more writing code in the browser console 😅😂
@patelronak153
@patelronak153 24 күн бұрын
🚀🔥👍
Arrow Functions JavaScript Tutorial - What NOT to do!!!
31:48
ColorCode
Рет қаралды 51 М.
JavaScript Pure Functions - Tutorial for beginners
19:20
ColorCode
Рет қаралды 9 М.
Bro be careful where you drop the ball  #learnfromkhaby  #comedy
00:19
Khaby. Lame
Рет қаралды 50 МЛН
100❤️
00:20
Nonomen ノノメン
Рет қаралды 48 МЛН
Make me the happiest man on earth... 🎁🥹
00:34
A4
Рет қаралды 4,4 МЛН
The Importance of Specialization in Coding
7:13
Traversy Media
Рет қаралды 157 М.
Fetch API - JavaScript Tutorial for beginners
30:50
ColorCode
Рет қаралды 89 М.
The purest coding style, where bugs are near impossible
10:25
Coderized
Рет қаралды 870 М.
What is Factory Function in JavaScript? - JS Tutorial
17:31
ColorCode
Рет қаралды 53 М.
Deep Dive on LINQ with Stephen Toub
1:23:59
dotnet
Рет қаралды 49 М.
Dear Functional Bros
16:50
CodeAesthetic
Рет қаралды 450 М.
DOM API - JavaScript Tutorial for beginners
42:17
ColorCode
Рет қаралды 27 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,7 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 7 МЛН
Цифровые песочные часы с AliExpress
0:45
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 3,5 МЛН
Выложил СВОЙ АЙФОН НА АВИТО #shorts
0:42
Дмитрий Левандовский
Рет қаралды 1,6 МЛН