JavaScript Syntax for Pythonistas (Fast Track) Quiz

Interactive Quiz ⋅ 10 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of JavaScript Syntax for Pythonistas (compact).

By working through this quiz, you’ll revisit reading blocks by their braces, writing empty blocks and comments, ending statements and splitting long lines safely, telling expressions from statements, naming things the JavaScript way, and checking a file’s syntax before you run it.

Most questions show a short snippet, often a port of some Python, and ask what it does when JavaScript runs it. Each one puts a Python habit in your way, so you can check that you’d now catch it before it reaches your code.

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 operates a syntax press stamping braces onto a release note, with semicolon blocks on a conveyor and panels for names and formatting.

Course

JavaScript Syntax for Pythonistas (Fast Track)

Port a web agency's release-note script from Python to JavaScript in this shorter course, and learn how JavaScript's blocks, statements, line breaks, and names differ from Python's.

basics js py