Skip to content

Bug in "JS Assignment 4: Control Flow Continued" on repl.it #1668

Description

@DMillstone

Hello, not sure if this is the right repo to submit this issue to but I am having trouble with a repl.it assignment in this section. After answering all exercises for this assignment, I clicked "run tests" and was told that I had failed all sections, including the exampleExercise even though I did not change anything for the exampleExercise. I was given the following error:

ReferenceError: exampleExercise is not defined
at eval (eval at n.evaluate (https://repl.it/public/replbox_lang/2.20.0/javascript.js:237:152404), :4:5)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290616
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)
at e.M [as queueRunnerFactory] (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:250740)
at e.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:245810)
at e.fn (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:300964)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290550
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)

I reset it and tried "run tests" again without changing anything, and it said the Example Exercise was answered correctly. So I began filling in my answers again one by one, checking the "run tests" after each one. When exerciseOne and exerciseTwo are completed there is no problem, it says that both of them and the exampleExercise are all answered correctly. Once I filled out exerciseThree and/or exerciseFour I get the same error message that every exercise is answered incorrectly, including the example. Here are the other error messages:

ReferenceError: exerciseOne is not defined
at eval (eval at n.evaluate (https://repl.it/public/replbox_lang/2.20.0/javascript.js:237:152404), :9:5)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290616
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)
at e.M [as queueRunnerFactory] (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:250740)
at e.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:245810)
at e.fn (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:300964)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290550
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at e (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290094)

ReferenceError: exerciseTwo is not defined
at eval (eval at n.evaluate (https://repl.it/public/replbox_lang/2.20.0/javascript.js:237:152404), :14:5)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290616
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)
at e.M [as queueRunnerFactory] (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:250740)
at e.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:245810)
at e.fn (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:300964)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290550
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at e (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290094)

ReferenceError: exerciseThree is not defined
at eval (eval at n.evaluate (https://repl.it/public/replbox_lang/2.20.0/javascript.js:237:152404), :19:5)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290616
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)
at e.M [as queueRunnerFactory] (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:250740)
at e.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:245810)
at e.fn (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:300964)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290550
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at e (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290094)

ReferenceError: exerciseFour is not defined
at eval (eval at n.evaluate (https://repl.it/public/replbox_lang/2.20.0/javascript.js:237:152404), :24:5)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290616
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at n.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:289470)
at e.M [as queueRunnerFactory] (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:250740)
at e.execute (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:245810)
at e.fn (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:300964)
at https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290550
at n.run (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290835)
at e (https://repl.it/public/replbox_lang/2.20.0/javascript.js:684:290094)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions