export default class Quiz { hint : string ; options : string [ ] ; answer : string [ ] ; constructor ( hint , options ) { this . hint = hint ; this . options = options ; this . answer = options [ Math . floor ( Math . random ( ) * options . length ) ] . toLowerCase ( ) . split ( "" ) ; } }