Click in order · Vue.js course · Module 1: Vue and Vite
Advanced: computed property syntax
Arrange the syntax of a computed property in Vue 3:
Items to click
- computed(
- firstName.value + ' ' + lastName.value)
- () =>
- const fullName =
Show the answer
Correct order:
- const fullName =
- computed(
- () =>
- firstName.value + ' ' + lastName.value)