37-Consider the following code: var array1 = [1, 2, 3, 4, 5] var array2 = array1 array2.append(6) var len = array1.count What’s the value of the len variable, and why? Answer:The len variable is equal to 5, meaning that array1 has 5 elements, whereas array2 has 6 elements: array1 =…