14 lines
345 B
Plaintext
14 lines
345 B
Plaintext
'use strict';
|
|
|
|
var l33tTableToTrieNode = (l33tTable, triNode) => {
|
|
Object.entries(l33tTable).forEach(([letter, substitutions]) => {
|
|
substitutions.forEach(substitution => {
|
|
triNode.addSub(substitution, letter);
|
|
});
|
|
});
|
|
return triNode;
|
|
};
|
|
|
|
module.exports = l33tTableToTrieNode;
|
|
//# sourceMappingURL=l33tTableToTrieNode.cjs.map
|