Advertisement
Ducktaep

KA getAssessmentItem parser

Jun 26th, 2022
888
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.14 KB | None
  1. let getCorrect = obj => JSON.parse(obj.data.assessmentItem.item.itemData).question.widgets["radio 1"].options.choices.find(e => e.correct).content;
Advertisement
RAW Paste Data Copied
Advertisement