Takes a word and checks it it matches any of the words in an array. Simply sorting the words into alphabetical order makes things much more simple (I made the error of not thinking of this in an interview)!

See the Pen Anagram by Shane Prendergast (@webknit) on CodePen.

Worthy of Note

Worthy of Note is a site aimed at Web Designers & Developers. It offers a wide range of resources to help assist anyone in the web industry.

View