diff --git a/js/index.js b/js/index.js index 24501f105f..98a9883e97 100644 --- a/js/index.js +++ b/js/index.js @@ -1,6 +1,6 @@ -var name = "Joe" -var height = "74" - -// Don't worry about this -module.exports = { name, height +var name = "Susan" +var height = "70" + +// Don't worry about this +module.exports = { name, height } \ No newline at end of file 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