You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/v2/guide/list.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -288,7 +288,7 @@ new Vue({
288
288
{% raw %}
289
289
<divid="todo-list-example"class="demo">
290
290
<input
291
-
v-model="newTodoText" v
291
+
v-model="newTodoText"
292
292
v-on:keyup.enter="addNewTodo"
293
293
placeholder="Add a todo"
294
294
>
@@ -389,7 +389,7 @@ You can open the console and play with the previous examples' `items` array by c
389
389
390
390
### Replacing an Array
391
391
392
-
Mutation methods, as the name suggests, mutate the original array they are called on. In comparison, there are also non-mutating methods, e.g. `filter()`, `concat()` and `slice()`, which do not mutate the original Array but **always return a new array**. When working with non-mutating methods, you can just replace the old array with the new one:
392
+
Mutation methods, as the name suggests, mutate the original array they are called on. In comparison, there are also non-mutating methods, e.g. `filter()`, `concat()` and `slice()`, which do not mutate the original array but **always return a new array**. When working with non-mutating methods, you can just replace the old array with the new one:
0 commit comments