From 716d9b93170a9835dc6e040fe6c995f256246f57 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Wed, 20 Apr 2022 09:46:47 +0545 Subject: [PATCH] would be -> is Co-authored-by: Tan Li Hau --- .../02-reactivity/04-updating-arrays-and-objects/text.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md b/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md index 54a8bcb0e7..cf74916dea 100644 --- a/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md +++ b/site/content/tutorial/02-reactivity/04-updating-arrays-and-objects/text.md @@ -6,7 +6,7 @@ Svelte's reactivity is triggered by assignments. Methods that mutate arrays/obje In this example, clicking the "Add a number" button calls the `addNumber` function, which appends a number to the array but doesn't trigger the recalculation of `sum` and does not update the rendered page. -One way to fix that would be to assign `numbers` to itself to tell the compiler it has changed: +One way to fix that is to assign `numbers` to itself to tell the compiler it has changed: ```js function addNumber() {