What are Callbacks in JavaScript? | How Create and Use Callback Functions

Опубликовано: 10 Октябрь 2024
на канале: Ijemma Onwuzulike
492
31

Callbacks, aka callback functions, are functions that are passed into another function and called with that function.

They're absolutely key to understand in order to write dynamic JavaScript projects.

Igbo API GitHub: https://github.com/ijemmao/igbo_api
Volunteer Form: https://nkowaokwu.com/volunteer

🎬 Subscribe to the channel! -    / @ijemmaonwuzulike  

Timestamps:
0:00 Intro
0:11 Why use Callback Functions?
0:35 What is a Callback Function?
1:37 Grabbing Values from Unreachable Scopes
3:07 setTimeout Example
3:44 Promise Example
4:44 Express Example
6:22 Contribute to the Igbo API!

== Let's Connect ==
🐦 Twitter -   / ijemmaohno  

== Who I Am ==
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.

Icons from Freepik

#javascript #webdevelopment #softwareengineer