Implement and export as default a predicate function that takes two parameters: a lowercase character set (a string) and a word, and checks whether the given set can be used to compose the word. As a result, the function returns
It checks for the number of characters needed to compose a word and is not case sensitive.
For full access to the challenge you need a professional subscription.
A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.