diff --git a/js/index.js b/js/index.js index 24501f105f..e1b5ca36a5 100644 --- a/js/index.js +++ b/js/index.js @@ -1,6 +1,6 @@ -var name = "Joe" -var height = "74" +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..753fba34b8 100644 --- a/js/other_file.js +++ b/js/other_file.js @@ -0,0 +1,4 @@ + +var index = require("./index.js") + +console.log(index.name)