Update site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md

Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
pull/7073/head
gtmnayan 4 years ago committed by GitHub
parent 58adba2fb5
commit e83a41c9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,7 +23,7 @@ function addNumber() {
}
```
The same rule applies for other array methods such as `pop`, `shift`, `splice` and for other objects such as `Map.set`.
The same rule applies to array methods such as `pop`, `shift`, `splice` and to objects methods such as `Map.set`.
Assignments to *properties* of arrays and objects — e.g. `obj.foo += 1` or `array[i] = x` — work the same way as assignments to the values themselves.

Loading…
Cancel
Save