Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function map() {
- filteredShapes = [];
- function iterateSection(section) {
- if (section) {
- section.question.forEach(function (question) {
- if (question.id === "q80")
- emit(this._id, question);
- });
- iterateSection(section.section);
- }
- }
- this.checkList.section.forEach(iterateSection);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement