I have two array one contains length of 20 & second is in length of 10
I want to add 2 objects from the second array after every 5 object from first: in example
const array = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
const secondArray = [a,b,c,d,e,f,g,h,i.j]
So expected output should be: [1,2,3,4,5,a,b,6,7,8,9,10,c,d...etc]