7 Benefits of First-Class Functions - JavaScript Tutorial

Опубликовано: 01 Январь 1970
на канале: ColorCode
10,466
603

The JavaScript Tool I'm using to demonstrate:
https://runjs.app/ColorCode

ColorCode Etsy Merchandise store:
https://www.etsy.com/shop/ColorCodeStore

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:
https://www.etsy.com/shop/ColorCodeStore

Full playlist here:    • 20 Things JavaScript Developers Shoul...  

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:
https://www.colorcode.io/js-mastery


Смотрите видео 7 Benefits of First-Class Functions - JavaScript Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь ColorCode 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,466 раз и оно понравилось 603 людям.