JSchallenger

Clear up the chaos behind these strings

Viewed: 426
Attempted: 367
Solved: 59
// It seems like something happened to these strings
// Can you figure out how to clear up the chaos?
// Write a function that joins these strings together such that they form the words 'Javascript', 'Countryside', and 'Downtown'!
// You might want to apply basic JS string methods such as replace(), split(), slice() etc
//

function myFunction() {

return
}
Test Cases:
myFunction('java', 'tpi%rcs')
Expected
'Javascript'
myFunction('c%ountry', 'edis')
Expected
'Countryside'
myFunction('down', 'nw%ot')
Expected
'Downtown'