Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. code example
Example: write a function that takes in 2 arrays , merges them together an then return the new array sorted
// const twoArraysSorted = (arr) => {
// let copy = [...];
// copy.sort((a,b) => a-b).map(el=> el*2)
// return arr
// }