Question · Vue.js course · Module 4: Computed & Watch
Watch callback parameters
What parameters does the callback in watch() receive?
Answer options
- Only the new value
- The new value and old value (newVal, oldVal)
- An object with change history
- A reference to the source
You can check the correct answer by solving this task in the CodeWorlds game.