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