DEV Community

Discussion on: JS Array Manipulation Quirks

Collapse
 
shiftyp profile image
Ryan Kahn (he/him)

This is a really good point! Multi-character glyphs do mess with string iteration whether you split, spread, or loop. Trying to remember my solution to this the last time I encountered it in practice. I may have used a library to convert the strings to multi character arrays...