["hello", "Hello"], should return true because all of the letters in the second string are present in the first, ignoring case.
The arguments ["hello", "hey"] should return false because the string "hello" does not contain a "y".
Lastly, ["Alien", "line"], should return true because all of the letters in "line" are present in "Alien".
Remember to use Read-Search-Ask if you get stuck. Write your own code.
mutation(["hello", "hey"]) should return false.'
testString: 'assert(mutation(["hello", "hey"]) === false, "mutation(["hello", "hey"]) should return false.");'
- text: 'mutation(["hello", "Hello"]) should return true.'
testString: 'assert(mutation(["hello", "Hello"]) === true, "mutation(["hello", "Hello"]) should return true.");'
- text: 'mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"]) should return true.'
testString: 'assert(mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"]) === true, "mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"]) should return true.");'
- text: 'mutation(["Mary", "Army"]) should return true.'
testString: 'assert(mutation(["Mary", "Army"]) === true, "mutation(["Mary", "Army"]) should return true.");'
- text: 'mutation(["Mary", "Aarmy"]) should return true.'
testString: 'assert(mutation(["Mary", "Aarmy"]) === true, "mutation(["Mary", "Aarmy"]) should return true.");'
- text: 'mutation(["Alien", "line"]) should return true.'
testString: 'assert(mutation(["Alien", "line"]) === true, "mutation(["Alien", "line"]) should return true.");'
- text: 'mutation(["floor", "for"]) should return true.'
testString: 'assert(mutation(["floor", "for"]) === true, "mutation(["floor", "for"]) should return true.");'
- text: 'mutation(["hello", "neo"]) should return false.'
testString: 'assert(mutation(["hello", "neo"]) === false, "mutation(["hello", "neo"]) should return false.");'
- text: 'mutation(["voodoo", "no"]) should return false.'
testString: 'assert(mutation(["voodoo", "no"]) === false, "mutation(["voodoo", "no"]) should return false.");'
```