Porting Python's Defaults and match Statements to JavaScript Quiz

Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta

Porting Python’s Defaults and match Statements to JavaScript helps you port Python decisions by their meaning.

Revisit value selection, mixed defaults, logical assignment, switch comparisons, and optional calls. Most questions ask what a short JavaScript snippet does.

The quiz contains 10 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

A developer routes booking cards through a machine with AND, OR and DEFAULT gates into SEND and SKIP trays.

Course

Porting Python's Defaults and match Statements to JavaScript

Port a community center's booking confirmations from Python to JavaScript, and learn to choose between || and ??, fill in missing values, port match statements, and call functions safely.

intermediate js py