I'm trying to figure out how to convert info into an array to compare it with another array.
This is my code
<input type="checkbox" v-model="info.q1">
<input type="checkbox" v-model="info.q2">
<input type="checkbox" v-model="info.q3">
Answers[],
info : {
q1: '4',
q2: '4',
q3: '4'
}
I'm trying to get something like the below:
var answers = [{q1: 4},{q2: 4}]
this.Answers = Object.values(this.info)? SeeObject.values()