Javascript
100 Front End Interview Questions Challenge

Callbacks

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

A callback is a funtion passed as a parameter into another function in order to "call back to it" at some point later.

For example, Array.map() accepts a callback function that it will call repeatedly over each item in an array.

Callbacks may be used either synchronously or asynchronously.

 

I finished! On to the next chapter