Functions with Two Parameters


It's saying: Did you define a parimeter box function?

var parimeterBox= function(length, width) {
    return 2*length*width;


Spelling issue. perimeterBox


ahh.. I see that now. Thank you for your response.


Also the return for the perimeterBox should be:

return 2*length + 2*width;


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.