From 5b770de50017ff6b47f3e326d19770ed59ec116c Mon Sep 17 00:00:00 2001 From: THINH NGUYEN Date: Mon, 22 Jan 2018 20:06:37 +0000 Subject: [PATCH] Done. --- index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index bee567d..9fa38c8 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,7 @@ function myAnimal() { } function yourAnimal() { + var animal = 'cat' // How can we make sure that this function // and the above function both pass? // P.S.: You can't just hard-code 'cat' below @@ -12,10 +13,9 @@ function yourAnimal() { } function add2(n) { - return n + two + return n + 2 // Feel free to move things around! - const two = 2 } var funkyFunction = function() { @@ -26,4 +26,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 theFunk = funkyFunction () () +