diff --git a/index.js b/index.js index bee567d..5e372b9 100644 --- a/index.js +++ b/index.js @@ -8,14 +8,16 @@ 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 + //const two = 2 } var funkyFunction = function() { @@ -26,4 +28,5 @@ 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 funky = funkyFunction() +var theFunk = funky()