pthurlow/triejs — Issue #1: Adding a word that's a substring of an existing word creates undefined data target
Author: pthurlow
Created: 2012-01-11 02:34:50+00:00
State: open

When adding a word that is a substring of an existing word in the trie, it will push the existing word down a node level, however when inserting the new word, the check for undefined at the node level will fail (because it found the lower node level). Thus it will send undefined to insert.