Advertisement
Ducktaep

KA getAssessmentItem parser

Jun 26th, 2022
957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let getCorrect = obj => JSON.parse(obj.data.assessmentItem.item.itemData).question.widgets["radio 1"].options.choices.find(e => e.correct).content;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement