logo CodeStepByStep logo

fixErrors2

Language/Type: JavaScript basics errors functions
Author: Melissa Hovik (on 2016/09/25)

The following program attempts to return the sum of two parameters. But it contains several kinds of errors. Fix the code below so that it compiles and runs properly.

Function: Write a JavaScript function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.