We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ec584 commit 493535fCopy full SHA for 493535f
src/guide/essentials/computed.md
@@ -213,7 +213,7 @@ export default {
213
// setter
214
set(newValue) {
215
// Note: we are using destructuring assignment syntax here.
216
- ;[this.firstName, this.lastName] = newValue.split(' ')
+ [this.firstName, this.lastName] = newValue.split(' ')
217
}
218
219
@@ -241,7 +241,7 @@ const fullName = computed({
241
242
243
244
- ;[firstName.value, lastName.value] = newValue.split(' ')
+ [firstName.value, lastName.value] = newValue.split(' ')
245
246
})
247
</script>
0 commit comments