JavaScript Functions for Pythonistas Quiz

Interactive Quiz ⋅ 8 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of JavaScript Functions for Pythonistas.

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 from the translator’s quote lines and ask what it does in JavaScript, or how to fix it. Good luck!

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