Put the code into correct order.
Data and Methods
Order
Report a typo
Put the items in the correct order
import { ref } from 'vue';<script>setup() {
name = ref('Nick');
const age = ref(14);
const underage = ref(false); return { name, age, underage, checkAge}
}
}</script>export default {const checkAge = () => {
age.value < 18 ? underage.value = true : underage.value = false
} ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.