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
parent
380f4cf141
commit
8286ff9c46
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue