Coding task · Vue.js course · Module 3: Reactivity

Practice: unref() in a function

Create a universal function that handles both ref and regular values.

Task

Write a function that uses unref() to accept both ref and regular values as arguments.