9. Function with two parameters. Whats wrong with my code

// Write your function starting on line 3

var perimeterBox = function(4, 8) {
    return 4 * 8;


You are inserting specific numbers for your input. what you want in just a length and width so it can take any numbers.
Here is the code I used:

var perimeterBox = function(length, width){
    return length + length + width + width
perimeterBox(1, 1)

When I call the function on the last line you can insert any numbers to get the perimeter of a box that size.


Worked!!! Thanks for the help