¡@

Home 

javascript Programming Glossary: currentcharacter

Autocomplete using a trie

http://stackoverflow.com/questions/5023141/autocomplete-using-a-trie

availableWords.push currentChild.word else var currentCharacter characterArr.pop getMatchingWords characterArr availableWords.. getMatchingWords characterArr availableWords children currentCharacter .children function doGetWords wordPart var len wordPart.length.. 0 parent.word fullWord return var currentCharacter wordCharacterArray.pop .toUpperCase if parent.children currentCharacter..