From ef1a438cec90746912dc6cef30b31e26b0baf5f2 Mon Sep 17 00:00:00 2001 From: bel3atar <bel3atar@aol.com> Date: Mon, 31 Oct 2016 11:41:43 +0000 Subject: [PATCH] add missing verb (#8139) `why is an` should be `why it is an` --- tutorial/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial/tutorial.md b/tutorial/tutorial.md index 180ba05e..75e21aeb 100644 --- a/tutorial/tutorial.md +++ b/tutorial/tutorial.md @@ -204,7 +204,7 @@ Square no longer keeps its own state; it receives its value from its parent `Boa ## Why Immutability Is Important -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. +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. 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.