Skip to content

Commit 730b28e

Browse files
committed
Update solution.md
Changed the reference to each item of the array since it was previously defined as the variable word.
1 parent c32f6f7 commit 730b28e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-filter-anagrams/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Letter-sorting is done by the chain of calls in the line `(*)`.
3636
For convenience let's split it into multiple lines:
3737

3838
```js
39-
let sorted = arr[i] // PAN
39+
let sorted = word // PAN
4040
.toLowerCase() // pan
4141
.split('') // ['p','a','n']
4242
.sort() // ['a','n','p']

0 commit comments

Comments
 (0)