FAQ: Why does the semicolon drop in Robotics when I toggle between languages?

Last updated - October 14, 2025

This is something that is hard-coded into the open source Scratch software built by MIT Media Lab.We use this resource to power our Robotics course.

It is best practice to have a semicolon at the end of JavaScript. The semicolon will be removed when toggling between the languages. Therefore, the autograder will allow you to pass whether or not that semicolon is there or not. 

For information on the differences with the Robotics answer key, please follow this article as a guide.