Every character of the string jewels is one kind of jewel. Every character of the string stones is one stone you have.
Write a function countJewels(jewels, stones) that counts how many of your stones are jewels. Case matters, a and A are different kinds.
countJewels('aA', 'aAAbbbb')Returns 3
countJewels('z', 'ZZ')Returns 0
countJewels('aA', 'aAAbbbb')3countJewels('z', 'ZZ')0countJewels('ab', 'abba')4Hidden tests run on Submit.