diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index c73d94542b..9fbd36b04c 100755 --- a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json @@ -2636,7 +2636,7 @@ "
function plusThree(num) {
return num + 3;
}
var answer = plusThree(5); // 8
", "plusThree takes an argument for num and returns a value equal to num + 3.", "
", - "Create a function timesFive that accepts one argument, multiplies it by 5, and returns the new value." + "Create a function timesFive that accepts one argument, multiplies it by 5, and returns the new value. See the last line in the editor for an example of how you can test your timesFive function." ], "releasedOn": "January 1, 2016", "challengeSeed": [ @@ -2647,11 +2647,11 @@ "", "// Only change code below this line", "", - "" - ], - "tail": [ - "(function() { if(typeof timesFive === 'function'){ return \"timesfive(5) === \" + timesFive(5); } else { return \"timesFive is not a function\"} })();" + "", + "", + "console.log(minusSeven(10));" ], + "tail": [], "solutions": [ "function timesFive(num) {\n return num * 5;\n}" ], @@ -5719,4 +5719,4 @@ "translations": {} } ] -} \ No newline at end of file +}