Skip to content

Commit b87cd9b

Browse files
authored
Merge pull request lydiahallie#606 from hamirmahal/feat/improve-132
remove two unnecessary "the"s to improve 132
2 parents b4e4eed + 7eba1f0 commit b87cd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4265,7 +4265,7 @@ console.log(counterOne.count);
42654265
42664266
Then, we create a new variable `counterTwo`, and set it equal to `counterOne`. Since objects interact by reference, we're just creating a new reference to the same spot in memory that `counterOne` points to. Since it has the same spot in memory, any changes made to the object that `counterTwo` has a reference to, also apply to `counterOne`. Currently, `counterTwo.count` is `2`.
42674267

4268-
We invoke the `counterTwo.increment()`, which sets the `count` to `3`. Then, we log the count on `counterOne`, which logs `3`.
4268+
We invoke `counterTwo.increment()`, which sets `count` to `3`. Then, we log the count on `counterOne`, which logs `3`.
42694269

42704270
<img src="https://i.imgur.com/BNBHXmc.png" width="400">
42714271

0 commit comments

Comments
 (0)