Someone please help me, im trying to do var perimeterBox


#1

Someone please tell me what I am doing wrong.


#2

Someone please help me :sob:


#3

Hi your function should have two argument like that

var perimeterBox= function(length, width ) {
    // do Something 

}

And you should return the sum you put as argument
Inside your function in your return statement.
Then when you call the function perimeterBox() you should only put two number .
Hope that could help you.


#4

Thanks that helped me a lot!


#5

var perimeterbox = function (length , width)
{
return length + length + width +width ;

};
perimeterbox(5,4) ===> you can use any number ........