Question · Vue.js course · Module 4: Computed & Watch
Writable computed
How do you create a writable computed (with write capability)?
Answer options
- By adding .writable to computed()
- Computed cannot be writable
- By using ref instead of computed
- By passing an object with get() and set() to computed()
You can check the correct answer by solving this task in the CodeWorlds game.