Skip to content

Commit ca37c9c

Browse files
Merge pull request #325 from jdsandifer/issue-321-remove-pass-by-reference
Fix stray hyphen turning into a random bullet
2 parents 8f678c8 + 3028219 commit ca37c9c

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)