Range Over Built in TypeScript
for...of
on arrays and slices provides the value for each entry. Sometimes we actually want the indexes though.
for...in
on an object iterates over key/value pairs.
for...in
can also iterate over just the keys of an object.
for...of
on a string iterates over Unicode code points. The first value is the rune
itself.
Next example: Pointers.