@kevinwin/

subAnagram

Jest

Given a smaller word and a larger word, return true if an anagram of the smaller word is present in the larger word.

fork
loading
Files
  • config.json
  • subAnagram.js
  • subAnagram.test.js
config.json
1
2
3
4
5
{
  "testRegex": ".*\\.test\\.js$",
  "testEnvironment": "node"
}