TagMango interview question

Related to JS fundamentals and coding