Task: convert an array into an object with one key-value pair, where the first array item is the key, and the last array item is the value.Task: convert an array into an object with one
Task: convert an array into an object with one key-value pair, where the first array item is the key, and the last array item is the value.Task: convert an array into an object with one