From a44525ab3b18ae4686599a39069f5b2a455148cc Mon Sep 17 00:00:00 2001 From: Jessica Date: Fri, 19 Jan 2018 10:34:07 +0000 Subject: [PATCH] Done. --- index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index bee567d..5afab23 100644 --- a/index.js +++ b/index.js @@ -8,14 +8,15 @@ 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 } var funkyFunction = function() { @@ -26,4 +27,6 @@ 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()(); + +