stdlib-js / stdlib-js/stdlib

Bug with skin tone emojis when using `prevGraphemeClusterBreak` package

Aperta
#1,092 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Bug difficulty: 3 Good First Issue Help Wanted JavaScript priority: High
Lingua principale
JavaScript
Stelle
6k
Fork
1.3k
Merge medio
1g 3h
PR unite (30g)
611

Descrizione

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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.