JavaScriptJavaScript · Lesson 06

Functions

Declarations, expressions, arrows, parameters and scope.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 1 checkpoints Watch on YouTube More on this topic
Transcript & captions
3/3
Try it yourself

Arrow functions have no own this — they inherit it from the surrounding scope, which is exactly what you want inside callbacks.

Knowledge check

0/1 answered

What does ...nums do in a parameter list?