Mark As Completed Discussion

Here's how you could test out the previous code using another example input:

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment