Is there a way to check if a string in JS is one single emoji?

后端 未结 2 1991
借酒劲吻你
借酒劲吻你 2021-02-07 03:12

The question is simple: I have a string str, how do I check if str is one single emoji, and nothing else? Additionally I would prefer not

2条回答
提交回复
热议问题