In the JavaScript code, there are ten calls to the function guess()
. In each case, the function’s first argument is a
string value, and the second argument is an expression of some kind.
Your mission is to guess the value of all ten expressions. Currently, all ten guesses are just a question mark, which is not the correct answer to any question.
Change the question mark to the correct value for the expression given as the second argument to guess()
in each case.
If you are correct, the output for that number will turn green.
You may not modify any other code besides changing the contents of the first argument to guess()
.
See how far you can get in Code Combat.