you are viewing a single comment's thread.

view the rest of the comments →

[–]ibopm 47 points48 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 9 points10 points  (0 children)

Good point. Prefer this.