From de5d03ac6bb577263d8e829b6776a600708e4042 Mon Sep 17 00:00:00 2001 From: Vincent D'Onofrio Date: Tue, 21 Feb 2017 15:07:16 -0500 Subject: [PATCH] Fixed typo in Challenge Code - calculateCircumference closes #13464 --- .../02-javascript-algorithms-and-data-structures/es6.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index 111652c44d7..224198b1174 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -115,19 +115,19 @@ "// rename constant variables", "var pi = 3.14;", "var radius = 10;", - "var calulateCircumference = function(r) {", + "var calculateCircumference = function(r) {", " var diameter = 2 * r;", " var result = pi * diameter;", " return result;", "};", "// Test your code", - "console.log(calulateCircumference(radius));" + "console.log(calculateCircumference(radius));" ], "tests": [ "// Test user replaced all var keyword", "// Test PI is const", "// Test calculateCircumference is const", - "// Test pi and calulateCircumference has been renamed" + "// Test pi and calculateCircumference has been renamed" ], "type": "waypoint", "releasedOn": "Feb 17, 2017",