Merge pull request #13501 from donofriov/fix/typo-in-challenge-code-calculate-circumference

Fixed typo in Challenge Code - calculateCircumference
pull/13368/head
Joseph Livengood 2017-02-21 16:29:27 -05:00 committed by GitHub
commit 4ded8169cb
1 changed files with 3 additions and 3 deletions

View File

@ -115,19 +115,19 @@
"// rename constant variables", "// rename constant variables",
"var pi = 3.14;", "var pi = 3.14;",
"var radius = 10;", "var radius = 10;",
"var calulateCircumference = function(r) {", "var calculateCircumference = function(r) {",
" var diameter = 2 * r;", " var diameter = 2 * r;",
" var result = pi * diameter;", " var result = pi * diameter;",
" return result;", " return result;",
"};", "};",
"// Test your code", "// Test your code",
"console.log(calulateCircumference(radius));" "console.log(calculateCircumference(radius));"
], ],
"tests": [ "tests": [
"// Test user replaced all var keyword", "// Test user replaced all var keyword",
"// Test PI is const", "// Test PI is const",
"// Test calculateCircumference is const", "// Test calculateCircumference is const",
"// Test pi and calulateCircumference has been renamed" "// Test pi and calculateCircumference has been renamed"
], ],
"type": "waypoint", "type": "waypoint",
"releasedOn": "Feb 17, 2017", "releasedOn": "Feb 17, 2017",