9. Function with two parameters


#1

// Write your function starting on line 3

var perimeterBox = function(length1, length2, width1, width2){
return length1 + length2 + width1 + width2
};
perimeterBox(1,1,1,1);

I am getting an answer of 4, but it's not working! Where am i going wrong?


#2

Nevermind, GOT IT. My code has four distinct parameters and I only need two