JavaScript - JS
\n/**\n * @param {string} allowed\n * @param {string[]} words\n * @return {number}\n */\nvar countConsistentStrings = function (allowed, words) {\n  return word
```\n/**\n * @param {string} allowed\n * @param {string[]} words\n * @return {number}\n */\nvar countConsistentStrings = function (allowed, words) {\n  return words.filter((x) =>\n    x.split("").every((x) => allowed.split("").includes(x))\n  ).length;\n};\n```
['JavaScript']