You are viewing a single comment's thread. Return to all comments →
JavaScript :)
const matchingStrings = (strings, queries) => queries.map(el => strings.filter(item => item === el).length)
Seems like cookies are disabled on this browser, please enable them to open this website
Sparse Arrays
You are viewing a single comment's thread. Return to all comments →
JavaScript :)