lolajewls3615 lolajewls3615 03-01-2023 Computers and Technology Answered write a function 'transformfirstandlast' that takes in an array, and returns an object with: 1) the first element of the array as the object's key, and