diff --git a/index.js b/index.js index bee567d..1ea9ffc 100644 --- a/index.js +++ b/index.js @@ -8,14 +8,14 @@ function yourAnimal() { // How can we make sure that this function // and the above function both pass? // P.S.: You can't just hard-code 'cat' below + var animal = 'cat' return animal } function add2(n) { +const two = 2 return n + two - - // Feel free to move things around! - const two = 2 +// Feel free to move things around! } var funkyFunction = function() { @@ -26,4 +26,4 @@ var funkyFunction = function() { // We want to set theFunk equal to "FUNKY!" using our funkyFunction. // NOTE: you only need to modify the code below this line. -var theFunk = funkyFunction +var theFunk = funkyFunction()()