×
×
Correct!
There is a certain word we need to use to reach data properties from inside a method. What word is missing here?
data() {
return {
text: ''
}
},
methods: {
writeText() {
@(4).text = 'Hello World!'
}
}
data() {
return {
text: ''
}
},
methods: {
writeText() {
this.text = 'Hello World!'
}
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 54 exercises.
Are you sure you want to continue?