/** * Underscore.js * * The _.union() function is used to take n number of arrays * and return a new array with the unique terms in all those arrays * (union of all array). **/ import * as _ from 'underscore' let new_array = _.union( *arrays )