Skip to content

Fix stray hyphen turning into a random bullet #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,8 @@ JavaScript function can change an object's properties or alter the contents of
an array which could easily cause bugs elsewhere.

Suppose there's a function that accepts an array parameter representing a
shopping cart. If the function makes a change in that shopping cart array
- by adding an item to purchase, for example - then any other function that
shopping cart. If the function makes a change in that shopping cart array -
by adding an item to purchase, for example - then any other function that
uses that same `cart` array will be affected by this addition. That may be
great, however it could also be bad. Let's imagine a bad situation:

Expand Down