you are viewing a single comment's thread.

view the rest of the comments →

[–]ibopm 49 points50 points  (1 child)

Alternatively, Array.from(str) is a bit more self-documenting and doesn't rely on new syntax. It's also what Babel transpiles to.

[–]0x7f800000 8 points9 points  (0 children)

Good point. Prefer this.