The [@@iterator]()
method of String
values implements the iterable protocol and allows strings to be consumed by most syntaxes expecting iterables, such as the spread syntax and for...of
loops. It returns a string iterator object that yields the Unicode code points of the string value as individual strings.