Given a string, return an object of indexes and characters.
// input: const s = 'hello' // output: {0: 'h', 1: 'e', 2: 'l', 3: 'l', 4: 'o'}
/* output */