No. Arrow functions inherit this from their lexical scope (cannot be changed by call, apply, or bind). They do not have their own arguments object; use rest parameters (...args) instead.
First-Class Functions Interview Questions in JavaScript
Do arrow functions have their own this and arguments in JavaScript?
The answer
More FAQs in First-Class Functions Interview Questions in JavaScript
Functions are treated like any other value: assignable to variables, passable as arguments, returnable from functions, storable in data structures, and typeof is 'function'.
A function statement is hoisted with its full body (callable before the line). A function expression is assigned to a variable (variable hoisted only, function body assigned at the line).
A function that takes a function as an argument, returns a function, or both. Examples include map, filter, reduce, compose, curry, and setTimeout.
Still have questions?
Browse all our FAQs or reach out to our support team
Want to upskill yourself?
Your learning library
Small steps. Big possibilities.
Find your next course. Build something great.