Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
callionica committed Aug 4, 2024
1 parent f74fe65 commit bcfd99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colors/try-hard.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function getNodesWithWildcards(root, word) {
*/
export function getNodesWithReplacement(root, word) {
const all = [];
for (index = 0; index < word.length; ++index) {
for (let index = 0; index < word.length; ++index) {
const replacement = [...word];
replacement[index] = wildcard;
const results = getNodesWithWildcards(root, replacement.join(""));
Expand Down

0 comments on commit bcfd99f

Please sign in to comment.