7 Benefits of First-Class Functions - JavaScript Tutorial

preview_player
Показать описание
The JavaScript Tool I'm using to demonstrate:

ColorCode Etsy Merchandise store:

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:

JavaScript Promises from the series "20 Things JS Developers Should Know but Probably Don't"

*** Announcement ***
Full JavaScript Mastery course is coming! Sign up for Early Access here:
Рекомендации по теме
Комментарии
Автор

Episode 17: First-Class Functions 🎉🕺🏻🎩

ColorCode-io
Автор

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

samehmohamed
Автор

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

_SABARIVASANS-cyqw
Автор

Very high quality educational material. Thank you Sina

micoberss
Автор

Thank you for these videos, Sina. The playlist now has 17 amazing videos and I’m curious, are Event Delegation and Event Bubbling on your list of videos to make?

bonsayeb
Автор

This is high quality man. There are so many teachers who dont explain why ?. But you do....

MattRodriguez-hj
Автор

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

_ilearn
Автор

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

georgeanthony
Автор

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

dylanrh
Автор

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

edhead
Автор

Yet another valuable video. Keep up the great work!

thebunsenburner
Автор

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

BigSmoke-rw
Автор

Long time, glad to see another video.

logout-k
Автор

Greate guy this one.. he's doing his best 🙃😎

geoffreymatieso
Автор

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.

alokjha
Автор

Keep it going, with this kinde of quality you will be soon at top of the charts!

mikelis_silins
Автор

Hey sina nice video and is that your new glasses? Nice looks good on you!

PhantomDeluxe
Автор

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

IlPandax
Автор

1:44 Actually, functions became first-class citizens in Java 8 (released in 2014) as well. :)

TahaTopal
Автор

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.

rconr
visit shbcf.ru