Lets say I have two arrays:
let arr1 = [1,2,3,4,5] ;
let arr2 = ['a' , 'b', 'c'] ;
I want to insert elements of arr2 inside arr1 randomly. the order of arr2 is not important but order of arr1 is. The goal is to have this result:
let mergedArray = [1 , 2, 'b', 3 , 'c',4, 'a',5] ;
How can I achieve this ?