From 47c1d731740a984a956572ced4ee2160702443a4 Mon Sep 17 00:00:00 2001 From: Samuel Plumppu Date: Sat, 28 Jan 2017 00:25:31 +0100 Subject: [PATCH] fix(challenge): update tail section for "Return a Value from a Function with Return". --- .../basic-javascript.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json index c73d94542b4..9fbd36b04c9 100755 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json +++ b/seed/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 +}