Can a function be created that combines each value from two arrays, even if the arrays are of different lengths? For example:
arr1 = ["apple", "banana", "cherry"];
arr2 = ["pear", "kiwi", "orange"]
mergedArr= ["applepear", "applekiwi", "appleorange", "bananapear", "bananakiwi", "banannaorange", "cherrypear", "cherrykiwi", "cherryorange"...]