diff --git a/README.md b/README.md index 2977b19185..bbc277dab2 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ ReferenceError: name is not defined at bootstrap_node.js:508:3 ``` -The important line here is the `ReferenceError: name is not defined` line. That says that our `name` variable doesn't exist in the `other_file.js` file. That makes sense. In `other_file.js` we never write the line of code to create `name`. We have the line (`var name = "Joe"`) in `index.js`. We need to tell `other_file.js` about the existence of `index.js`! Let's do that by pasting the following line of code into your `other_file.js` file: +The important line here is the `ReferenceError: name is not defined` line. That says that our `name` variable doesn't exist in the `other_file.js` file. That makes sense. In `other_file.js` we never write the line of code to create `name`. We have the line `var name = "Susan"` in `index.js`. We need to tell `other_file.js` about the existence of `index.js`! Let's do that by pasting the following line of code into your `other_file.js` file: ```javascript var index = require("./index.js")