Loading…
Loading…
Twenty-five questions on function declarations, expressions and arrows, hoisting, this in plain calls, methods, callbacks and constructors, default and rest parameters, arguments, closures and the loop bug, call, apply and bind, and functional techniques.
Review quiz for Part 8 (Functions) of the JavaScript course, articles 63 to 69: from JavaScript Functions: Declarations, Expressions and Arrow Functions to Functional Programming in JavaScript: Higher-Order Functions, Pure Functions, Currying, Composition and Memoization.
Most questions show a short program and ask what it prints. Programs that depend on this use strict mode (as modules and classes do). Every answer was confirmed by running the code on Node.js. Aim for at least 18 out of 25 before starting Part 9.
Quiz path: step 7 of 20. Take the quizzes in this order, after reading the articles they cover.
Previous quiz: Arrays Review (JavaScript Part 7)
Next quiz: Classes Review (JavaScript Part 9)
25 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.