fix(challenges): typo in javascript algorithms/debugging/2

In the objectives, the user was asked to log the variable "outputTwice" whereas in the code editor,
no such variable existed. I changed the objectif so that  it states to change the variable
"outputTwo" which is the variable found in the content.
pull/18182/head
Hadrien Allemon 2018-07-22 23:39:05 +02:00 committed by Kristofer Koishigawa
parent 380f4cf141
commit 8286ff9c46
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@
"tests": [
{
"text":
"Use <code>console.log()</code> to print the <code>outputTwice</code> variable. In your Browser Console this should print out the value of the variable two times.",
"Use <code>console.log()</code> to print the <code>outputTwo</code> variable. In your Browser Console this should print out the value of the variable two times.",
"testString":
"assert(code.match(/console\\.log\\(outputTwo\\)/g), 'Use <code>console.log()</code> to print the <code>outputTwice</code> variable. In your Browser Console this should print out the value of the variable two times.');"
"assert(code.match(/console\\.log\\(outputTwo\\)/g), 'Use <code>console.log()</code> to print the <code>outputTwo</code> variable. In your Browser Console this should print out the value of the variable two times.');"
},
{
"text":