I don't get it


#1

// Write your function starting on line 3
var perimeterBox = function(3,6) {
return 3 * 6
};
perimeterBox(3,6)


#2

it is not working please help
Oops, try again. Your code doesn't look quite right. Check out the example in the instructions if you need help!
// Write your function starting on line 3
var perimeterBox = function(length,width )
{
return length + length + width + width ;
}; perimeterBox(length*width)

console.log(perimeterBox = (4,5));


#3

I left comments under your code. If anything is unclear, please ask :slight_smile:


#4

then why does this not work
// Write your function starting on line 3
var perimeterBox = function(length,width )
{

return length + width + length;

};
perimeterBox(4,5);


#5

This is not the same as:


#6

thanks so much it really helps


#7

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