You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trie.deleteWord fails for words containing characters outside the BMP (e.g. emoji) #2237
addWord iterates with Array.from(word) (code points), but deleteWord (lines 33, 38, 50) uses word[i] and word.length (UTF-16 code units). It looks up a lone surrogate, finds no child, and returns without deleting.
Activity