Deviopath › JavaScript

Anagram Check

Medium · Strings

Write a function isAnagram that returns true if the two strings are anagrams: they use exactly the same letters the same number of times, just in a different order.

Ignore letter case and spaces.

Next: Count Unique Words