diff --git a/index.js b/index.js index 8151607..dd49242 100644 --- a/index.js +++ b/index.js @@ -1,8 +1,14 @@ -var name = "Joe" +var name = "Susan" var height = "74" // Don't worry about this module.exports = { name, height } - +if (name === "Susan"){ + console.log("The name is correct"); + +}else { + + console.log("Expected thename to be Susan") +} diff --git a/other_file.js b/other_file.js index 3759417..d0488c5 100644 --- a/other_file.js +++ b/other_file.js @@ -1 +1,3 @@ -console.log(name) +var index = require("./index.js") + +console.log(index.name) \ No newline at end of file