diff --git a/site/content/guide/98-api-reference.md b/site/content/guide/98-api-reference.md index 0da28e6e38..9eb15bc83c 100644 --- a/site/content/guide/98-api-reference.md +++ b/site/content/guide/98-api-reference.md @@ -37,7 +37,8 @@ Normally, you'd interact with a component by getting and setting *props*: ```js console.log(component.answer); // 42 -component.answer = +component.answer = 420; +``` Every Svelte component instance has three built-in methods: