I'm lost with the two parameters


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-6LzGd/2/1?curriculum_id=506324b3a7dffd00020bf661#


There are no error messages.
I'm just lost, don't understand

Replace this line with your code. 
// Write your function starting on line 3
var perimeterBox = function(perimeter) {


#2

HI the instruction says..

2 Write a function called perimeterBox that returns the perimeter of a rectangle.
1 It should have two parameters.
since it's a rectangle we will have a length and width as argument of your function

var perimeterBox = function(length, width) {
   #do something
}

then they also aske to return inside that function the perimeter of a rectangle

return length + width + length + width;

or

return 2 * (length + width)

then you should call the function perimeterBox() with two number

HOpe that could help you..


#3

Thanks for explaining, it worked