Skip to content

Commit 3028219

Browse files
authored
Fix stray hyphen turning into a random bullet
1 parent 3b9504e commit 3028219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,8 +650,8 @@ JavaScript function can change an object's properties or alter the contents of
650650
an array which could easily cause bugs elsewhere.
651651

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

0 commit comments

Comments
 (0)