merge two nested arrays javascript code example
Example: javascript merge multidimensional array
const _questions = _.map(this.sections, section => section.questions);
const questions = Array.prototype.concat.apply([], _questions);
const _questions = _.map(this.sections, section => section.questions);
const questions = Array.prototype.concat.apply([], _questions);