How to Build an Anagram Function in JavaScript

Feature thumb anagram javascript code implementation

Below is my implementation for solving the coding interview question for checking to see if a string is an anagram or not in JavaScript.