From b0b88e2fbe9f705770f352efa25e4a2816eb91e9 Mon Sep 17 00:00:00 2001 From: decisive-metric-0348 Date: Mon, 8 Feb 2021 14:12:36 +0000 Subject: [PATCH] Done. --- js/index.js | 10 +++++----- js/other_file.js | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) 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