Problems with functions with 2 parameters


var perimeterBox = function(length, width){
var perimeter = length+length+width+width;


And why the result is:"4

Replace this line with your code.


you log the perimeter of a box, you need to return the perimeter of a box


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