Converts an array to an object.
The array
const result = Chalkboard.stat.toObject([2, 3, 5]); // Returns an indexed object Copy
const result = Chalkboard.stat.toObject([2, 3, 5]); // Returns an indexed object
Converts an array to an object.