Functions with two parameters-Syntax error


#1


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

What am I missing? 
var perimeterBox = function(length, width;)
{
return length + length + width + width;
};
perimeterBox(1,1);

#2

var perimeterBox = function(length, width;)

you shouldn't have a ; after parameter name


#3

Facepalm

Thank you, so much.


#4

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