Create two functions: isPrefix(word, prefixer-) and isSuffix(word, -suffixer).
isPrefix should return true if it begins with the prefix argument.isSuffix should return true if it ends with the suffix argument.Otherwise return false.
isPrefix("automation", "auto-") ➞ true
isSuffix("arachnophobia", "-phobia") ➞ true
isPrefix("retrospect", "sub-") ➞ false
isSuffix("vocation", "-logy") ➞ falseThe prefixer and suffixer arguments have dashes - in them.