JavaScript Functions for Pythonistas (Fast Track) Quiz
Interactive Quiz ⋅ 8 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of JavaScript Functions for Pythonistas (compact).
By working through this quiz, you’ll revisit the Python habits that misfire in
JavaScript functions: returning a pair with a comma, expecting an error when a call
passes the wrong number of arguments, defaults that meet null, arrows that return an
object, methods handed on without their owner, and keyword arguments that become an
options object.
Most questions show a short snippet and ask what it does when JavaScript runs it, or which version does the job.
The quiz contains 8 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
JavaScript Functions for Pythonistas (Fast Track)
Port a freelance translator's quote script from Python to JavaScript in this shorter course, and learn how JavaScript functions return results, take defaults and options, and use arrows.