phoneticLookup("alpha")
should equal "Adams"
");'
- text: ''
testString: 'assert(phoneticLookup("bravo") === "Boston", "phoneticLookup("bravo")
should equal "Boston"
");'
- text: ''
testString: 'assert(phoneticLookup("charlie") === "Chicago", "phoneticLookup("charlie")
should equal "Chicago"
");'
- text: ''
testString: 'assert(phoneticLookup("delta") === "Denver", "phoneticLookup("delta")
should equal "Denver"
");'
- text: ''
testString: 'assert(phoneticLookup("echo") === "Easy", "phoneticLookup("echo")
should equal "Easy"
");'
- text: ''
testString: 'assert(phoneticLookup("foxtrot") === "Frank", "phoneticLookup("foxtrot")
should equal "Frank"
");'
- text: ''
testString: 'assert(typeof phoneticLookup("") === "undefined", "phoneticLookup("")
should equal undefined
");'
- text: ''
testString: 'assert(code.match(/return\sresult;/), "You should not modify the return
statement");'
- text: ''
testString: 'assert(!/case|switch|if/g.test(code.replace(/([/]{2}.*)|([/][*][^/*]*[*][/])/g,"")), "You should not use case
, switch
, or if
statements"); '
```