Skip to content

Instantly share code, notes, and snippets.

@florianpasteur
Created December 6, 2023 11:58
Show Gist options
  • Save florianpasteur/7f13bebb8d50932e8353bce3c6960c52 to your computer and use it in GitHub Desktop.
Save florianpasteur/7f13bebb8d50932e8353bce3c6960c52 to your computer and use it in GitHub Desktop.
Find response in articulate training
console.log(parse(base64ToString(window.courseData)).course.lessons.reduce((acc, l) => acc.concat(l.items), []).filter(b => b.type === "knowledgeCheck").map(kc => kc.items[0].answers.filter(a => a.correct).map(a => kc.items[0].title.substr(0, 30) + '... : ' + a.title).join('\n')).join('\n---\n'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment