diff --git a/js/index.js b/js/index.js index 24501f105f..e51155d7f2 100644 --- a/js/index.js +++ b/js/index.js @@ -1,5 +1,5 @@ -var name = "Joe" -var height = "74" +var name = "Susan" +var height = 70 // Don't worry about this module.exports = { name, height diff --git a/js/other_file.js b/js/other_file.js index e69de29bb2..13a96a7214 100644 --- a/js/other_file.js +++ b/js/other_file.js @@ -0,0 +1,3 @@ +var index = require("./index.js") + +console.log(index.name) \ No newline at end of file