levenshteinDistance
doesn't correctly handle code points over U+FFFF
#6013
Labels
bug
Something isn't working
Describe the bug
levenshteinDistance
doesn't correctly handle code points over U+FFFF.Steps to Reproduce
Currently, of the above tests, only
"💩", "💫"
passes.Expected behavior
All four cases pass.
Environment
The text was updated successfully, but these errors were encountered: