Question Class

In here, you'll find all of the things you have to know from the question class.

circle-info

The required type is always displayed next to each parameter. When an Array element is displayed, each type is inside the brackets.

MyQuiz.js
constructor (question: string, answers: Array<string>, correctAnswer: string)

Last updated

Was this helpful?