/**
* @function unionArray
* @description Merges 2 arrays
* @param {Array} aL - Array to merge
* @param {Array} aR - Array to merge
* @return {Array}
* @since 1.0.2
* @example
*
* const result = unionArray([0,1,2], [3,4,5])
* // result = [0.1.2.3.4.5]
**/
import curry from '../curry'
export default curry(function unionArray (aL, aR) {
return Array.from(new Set(aL.concat(aR)))
})