So as someone who's not written Javascript in a decade, this on the face of it seems wrong to me:
Your example correct answer to "Write a function that returns the sum of two parameters" is
function myFunction(example) {
example
}
Is the atrophy coming from inside the house?