Skip to content

Commit e2a70ac

Browse files
bel3atargaearon
authored andcommitted
add missing verb (facebook#8139)
`why is an` should be `why it is an`
1 parent b062596 commit e2a70ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Square no longer keeps its own state; it receives its value from its parent `Boa
204204

205205
## Why Immutability Is Important
206206

207-
In the previous code example, I suggest using the `.slice()` operator to copy the `squares` array prior to making changes and to prevent mutating the existing array. Let's talk about what this means and why it an important concept to learn.
207+
In the previous code example, I suggest using the `.slice()` operator to copy the `squares` array prior to making changes and to prevent mutating the existing array. Let's talk about what this means and why it is an important concept to learn.
208208

209209
There are generally two ways for changing data. The first, and most common method in past, has been to *mutate* the data by directly changing the values of a variable. The second method is to replace the data with a new copy of the object that also includes desired changes.
210210

0 commit comments

Comments
 (0)