javascript - How to convert an array into an object? - Stack Overflow

javascript - How to convert an array into an object? - Stack Overflow