how to merge multi dimensional array into one array in js code example
Example: javascript merge multidimensional array
const _questions = _.map(this.sections, section => section.questions);
const questions = Array.prototype.concat.apply([], _questions);