Advanced Array operations
Medium
3
63.6% Acceptance
In this lab, you'll create a function called convertArrayToObject
that accepts an array as input and returns an object. The object keys should be the even indexed elements of the array, and the values should be the odd indexed elements. Finally, you'll export the convertArrayToObject
function as a named export using ESM syntax.