Skip to content

HomeworkQuestions#26

Open
Jeremyjdz13 wants to merge 2 commits intopce-uw-jscript400:masterfrom
Jeremyjdz13:master
Open

HomeworkQuestions#26
Jeremyjdz13 wants to merge 2 commits intopce-uw-jscript400:masterfrom
Jeremyjdz13:master

Conversation

@Jeremyjdz13
Copy link

No description provided.

* **Your Answer:**

---
Change it back to start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can define your own scripts. To run this one, you would type npm run my-file.


* **Your Answer:**

My Name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But why? In this case, it's because we exported that value from our ./profile.js file.

---
The require() functions grabs the export based on the file path I specified.

It's an object.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be precise, module.exports is an object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants