Convert an array-like object to an object likely to have the same "shape".
stdlib.io
stdlib-js/array-base-arraylike2object