["hello", "Hello"]应该返回true,因为第二个字符串中的所有字母都出现在第一个字母中,忽略大小写。参数["hello", "hey"]应返回false,因为字符串“hello”不包含“y”。最后, ["Alien", "line"]应该返回true,因为“line”中的所有字母都出现在“Alien”中。如果卡住,请记得使用Read-Search-Ask 。编写自己的代码。 mutation(["hello", "hey"])应该返回false。'
testString: 'assert(mutation(["hello", "hey"]) === false, "mutation(["hello", "hey"]) should return false.");'
- text: 'mutation(["hello", "Hello"])应该返回true。'
testString: 'assert(mutation(["hello", "Hello"]) === true, "mutation(["hello", "Hello"]) should return true.");'
- text: 'mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"])应该返回true。'
testString: 'assert(mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"]) === true, "mutation(["zyxwvutsrqponmlkjihgfedcba", "qrstu"]) should return true.");'
- text: 'mutation(["Mary", "Army"])应该返回true。'
testString: 'assert(mutation(["Mary", "Army"]) === true, "mutation(["Mary", "Army"]) should return true.");'
- text: 'mutation(["Mary", "Aarmy"])应该返回true。'
testString: 'assert(mutation(["Mary", "Aarmy"]) === true, "mutation(["Mary", "Aarmy"]) should return true.");'
- text: 'mutation(["Alien", "line"])应该返回true。'
testString: 'assert(mutation(["Alien", "line"]) === true, "mutation(["Alien", "line"]) should return true.");'
- text: 'mutation(["floor", "for"])应该返回true。'
testString: 'assert(mutation(["floor", "for"]) === true, "mutation(["floor", "for"]) should return true.");'
- text: 'mutation(["hello", "neo"])应该返回false。'
testString: 'assert(mutation(["hello", "neo"]) === false, "mutation(["hello", "neo"]) should return false.");'
- text: 'mutation(["voodoo", "no"])应该返回false。'
testString: 'assert(mutation(["voodoo", "no"]) === false, "mutation(["voodoo", "no"]) should return false.");'
```