Question · Vue.js course · Module 3: Reactivity

Accessing the ref value

How do you access the value of a ref in the script section?

Answer options

  • ref.value
  • ref.get()
  • ref()
  • $ref

You can check the correct answer by solving this task in the CodeWorlds game.