During the development requirements test today, I found that the emoji expressions are displayed normally on the applet side, but the traversal is garbled .
After trying it, I found that the console could not recognize the emoji because of the space after the expression.
Use regular matching item.match(/[^\s]/g)
to remove spaces
The effect is as follows: