_.flatConcat
Concatenates an item to an array of a given position
_.flatConcat(position, item, array)
Parameters:
position [number]:
the position where the item will be addeditem [any] :
the item to be addedarray [array]:
the array with the elements
Example:
_.flatConcat([1,2,4,5], 2, 3)
// => [1,2,3,4,5]Last updated