Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Write anagram check function with array and string methods

    In this lesson you will learn how to write an anagram check function with 'array.filter' and 'array.sort' methods. We will use functional programming approach to compare if two string have the same letters but in different order, excluding all special characters like spaces, exclamation marks etc.