From 6967e51367be1eb1dc095bd54e75da59bd3e0a80 Mon Sep 17 00:00:00 2001 From: Smrita Bhetwal Date: Thu, 3 May 2018 01:17:12 +0000 Subject: [PATCH 1/3] Done. --- index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 8151607..1b6564f 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,8 @@ -var name = "Joe" -var height = "74" - +var name = "Joe"; +var height = "74"; +if (name === "Susan"){ + console.log('The name is correct') +} // Don't worry about this module.exports = { name, height From 572e2996ad4c0738c1505c80c64dc7818183bc2f Mon Sep 17 00:00:00 2001 From: Smrita Bhetwal Date: Thu, 3 May 2018 01:18:41 +0000 Subject: [PATCH 2/3] Done. --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 1b6564f..06f8c6a 100644 --- a/index.js +++ b/index.js @@ -2,6 +2,8 @@ var name = "Joe"; var height = "74"; if (name === "Susan"){ console.log('The name is correct') +} else { + console.log('Expected the name to be Susan') } // Don't worry about this From 6699242fe9e4e6e140a538b829e94befb2344694 Mon Sep 17 00:00:00 2001 From: Smrita Bhetwal Date: Thu, 3 May 2018 04:10:24 +0000 Subject: [PATCH 3/3] Done. --- other_file.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/other_file.js b/other_file.js index 3759417..cc5a1c2 100644 --- a/other_file.js +++ b/other_file.js @@ -1 +1,3 @@ console.log(name) +var index = require("./index.js") +console.log(name) \ No newline at end of file