We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc0e93 commit 6a766c0Copy full SHA for 6a766c0
1-js/05-data-types/07-map-set-weakmap-weakset/02-filter-anagrams/solution.md
@@ -15,7 +15,7 @@ We'll use the letter-sorted variants as map keys to store only one value per eac
15
function aclean(arr) {
16
let map = new Map();
17
18
- for(let word of arr) {
+ for (let word of arr) {
19
// split the word by letters, sort them and join back
20
*!*
21
let sorted = word.toLowerCase().split('').sort().join(''); // (*)
0 commit comments