js merge few arrays code example
Example 1: javascript concat two arrays
//ES6
const array3 = [...array1, ...array2];
Example 2: javascript merge multidimensional array
const _questions = _.map(this.sections, section => section.questions);
const questions = Array.prototype.concat.apply([], _questions);