Functions You Can Pass Around Quiz
Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Functions You Can Pass Around.
By working through this quiz, you’ll revisit functions as values you can store and
pass to other functions, arrow functions, default parameters, object shorthand, the
end and search methods of arrays, and handing callbacks to .map(), .forEach(),
.sort(), .toSorted(), .find(), .some(), and their relatives.
Most questions show a short program and ask what it prints when you run it in JavaScript. Good luck!
The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Functions You Can Pass Around
Learn to treat JavaScript functions as values: store them, pass them, and give parameters defaults. Then transform, filter, search, and sort a list of records by handing functions to array methods, and build a movie-night picker in Node.