# Is there a "Stop" command in javascript?

**URL:** <https://forum.code.org/t/is-there-a-stop-command-in-javascript/10475>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-3, csd-unit-3-lesson-7\
**Created:** [September 22, 2017, 6:39pm UTC](https://forum.code.org/t/is-there-a-stop-command-in-javascript/10475 "2017-09-22T18:39:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevequnell](https://avatars.discourse-cdn.com/v4/letter/s/b38774/32.png) [@stevequnell](https://forum.code.org/u/stevequnell)\
**Post date:** [September 22, 2017, 6:39pm UTC](https://forum.code.org/t/is-there-a-stop-command-in-javascript/10475/1 "2017-09-22T18:39:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bradleywellsashley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/bradleywellsashley/32/522_2.png) [@bradleywellsashley](https://forum.code.org/u/bradleywellsashley)\
**Post date:** [September 24, 2017, 8:26pm UTC](https://forum.code.org/t/is-there-a-stop-command-in-javascript/10475/2 "2017-09-24T20:26:32Z")

</div>

Steve,

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

---

<div class="post-metadata">

**Author:** ![wbunker](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/wbunker/32/2581_2.png) [@wbunker](https://forum.code.org/u/wbunker)\
**Post date:** [November 6, 2017, 9:06pm UTC](https://forum.code.org/t/is-there-a-stop-command-in-javascript/10475/3 "2017-11-06T21:06:09Z")

</div>

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