Is there a "Stop" command in javascript?

I’m not a well-seasoned Java guy, so I don’t know if there’s a stop command to end a program or an event.
It seems like this unit might be the place to introduce it because the next several lessons have students writing programs that go on indefinitely.


There isn’t a stop button, but students will need to click on the Reset button (which is what the Run button changes to) if they get stuck. Although in the earlier lessons, Lesson 7, they want to be creating the same object over and over again to fill the screen. But it is a great point going forward.


Brad…you have the greatest answers and explanations on this forum. Can you come and teach Unit 3 for me? :wink: I’d love to watch your expertise in action.