In your Tests, for coding Questions, you can reuse the initial or original prototypical code which was populated in the editor for the selected programming language. You can reset your code by simply copying and pasting the original version over your version of the code.
To copy and use the original code in your editor:
- In the Code editor, click Original Code in the editor options area.
The “Initial Code” window displays the original code which was provided in the editor for this Question.
- Copy the code from this window, and click Close Window.
- Paste the copied code in your editor over your code, or simply paste it separately for reference.
Note: The code editor periodically saves your code. The editor automatically resets when you choose a different programming language.