Rename anagrams to mutations

This commit is contained in:
Nathan Leniz
2015-02-28 17:14:04 +09:00
parent d896857fd3
commit df2ba2e486

View File

@ -195,16 +195,16 @@
}, },
{ {
"_id": "af2170cad53daa0770fabdea", "_id": "af2170cad53daa0770fabdea",
"name": "Anagrams", "name": "Mutations",
"difficulty": "1.12", "difficulty": "1.12",
"description": [ "description": [
"Return true if the string in the second element of the array if the string in the first element contains it in any form." "Return true if the string in the second element of the array if the string in the first element contains it in any form."
], ],
"challengeSeed": "function anagram(arr) {\n return arr;\n}\n\nanagram(['hello', 'hey']);", "challengeSeed": "function mutation(arr) {\n return arr;\n}\n\nmutation(['hello', 'hey']);",
"tests": [ "tests": [
"expect(anagram(['hello', 'hey'])).to.be.false;", "expect(mutation(['hello', 'hey'])).to.be.false;",
"expect(anagram(['hello', 'Hello'])).to.be.true;", "expect(mutation(['hello', 'Hello'])).to.be.true;",
"expect(anagram(['zyxwvutsrqponmlkjihgfedcba', 'qrstu'])).to.be.true;" "expect(mutation(['zyxwvutsrqponmlkjihgfedcba', 'qrstu'])).to.be.true;"
] ]
}, },
{ {