You are viewing a single comment's thread. Return to all comments →
in JavaScript,
function gemstones(arr) { let counter = 0; for (let i = 97; i <= 122; i = i + 1) { if (arr.every(element => element.includes(String.fromCharCode(i)))) { counter = counter + 1; } } return counter; }
Seems like cookies are disabled on this browser, please enable them to open this website
Gemstones
You are viewing a single comment's thread. Return to all comments →
in JavaScript,