Javascript Substring bagupe emoji

Array.from(str) splits your string into individual unicode characters without breaking them between bytes.
TM