Javascript – Vue3: How do I access a function inside the methods attribute from a component's setup() method?
I have an array containing data of questions that will be displayed. Only one question must be displayed at a time. Once the user selects an answer to a question, they can move to the next one by, either, the…