Skip to content

in class assignment#24

Open
janauhrich wants to merge 1 commit intopce-uw-jscript400:masterfrom
janauhrich:master
Open

in class assignment#24
janauhrich wants to merge 1 commit intopce-uw-jscript400:masterfrom
janauhrich:master

Conversation

@janauhrich
Copy link

No description provided.

* **Question:** What is the difference between forking and cloning a repository as opposed to just cloning a repository?

* **Your Answer:**
* **Your Answer:** Forking a repo creates a link between the original repo and your repo that allows you to make a pull request later. Cloning a repo just creates a copy.
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 make a Pull Request from just cloning as well, FYI!

* **Question:** What happens and how is this related to what is in the `package.json` file?

* **Your Answer:**
* **Your Answer:** npm attempts to run the script "test" but since we don't really have one in the package.json we get an error.
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 more precise, right now the "test" script points towards a command that will throw that error. It's not just that we have no tests.

* **Question:** What are some ways you can solve this problem?

* **Your Answer:**
* **Your Answer:** export an array
Copy link
Contributor

Choose a reason for hiding this comment

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

Or an Object! Typically, we will be using objects.

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