diff --git a/js/index.js b/js/index.js index 24501f105f..54c83788bd 100644 --- a/js/index.js +++ b/js/index.js @@ -1,6 +1,11 @@ -var name = "Joe" -var height = "74" +var name = "Susan" +var height = 70 // Don't worry about this module.exports = { name, height +} +if (name === "Susan") { + console.log("The name is correct") +} else { + console.log("Expected the name to be Susan") } \ No newline at end of file diff --git a/js/other_file.js b/js/other_file.js index e69de29bb2..551d349953 100644 --- a/js/other_file.js +++ b/js/other_file.js @@ -0,0 +1,2 @@ +var index = require("./index.js") +console.log(index.name) \ No newline at end of file