Help


#1

// Write your function starting on line 3

var perimetrBox = function(length,width){
var val=length+length+width+width;
return val;
};console.log(perimetrBox(10,20));


#2

Please, print your error message and what kind of help you need.


#3

well first off you misspelled your variable should be perimeterBox. Secondly, you can just return length + length + width + width instead of creating a var and returning it. Thirdly, you can console.log your perimeterBox (misspelled it again here) but it is not necessary.


#4

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