Skip to content

Commit 6a766c0

Browse files
authored
Update solution.md
1 parent ccc0e93 commit 6a766c0

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/07-map-set-weakmap-weakset/02-filter-anagrams

1 file changed

+1
-1
lines changed

1-js/05-data-types/07-map-set-weakmap-weakset/02-filter-anagrams/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We'll use the letter-sorted variants as map keys to store only one value per eac
1515
function aclean(arr) {
1616
let map = new Map();
1717

18-
for(let word of arr) {
18+
for (let word of arr) {
1919
// split the word by letters, sort them and join back
2020
*!*
2121
let sorted = word.toLowerCase().split('').sort().join(''); // (*)

0 commit comments

Comments
 (0)