Merge two sorted arrays

Write a function to return an array that two arrays are merged in

example:

mergeSortedArray([2, 5, 6, 9], [1, 2, 3, 29]);
// [1, 2, 2, 3, 5, 6, 9, 29]


Share Comments