Syntax Error #9 functions


#1


Functions with two parameters

SyntaxError: missing ) after formal parameters


var perimeterBox= function(length + length+ width + width);{
    perimeterBox(3,9);
    return(length + length + width + width);
};


#2

Remove the semicolon on this line.


#3

Remove semicolon as @jibbyj said.

Replace all of the +'s with ,'s.

Remove function call. :slight_smile: