stdlib
stdlib copied to clipboard
Bug with skin tone emojis when using `prevGraphemeClusterBreak` package
There's an issue with prevGraphemeClusterBreak
package, if I compare the results with nextGraphemeClusterBreak
for a single skin tone emoji it doesn't return the same values,
prevGraphemeClusterBreak( '👉🏿' ) // returns 1
nextGraphemeClusterBreak( '👉🏿' ) // returns -1
Originally posted by @steff456 in https://github.com/stdlib-js/stdlib/pull/1079#discussion_r1306328286