Question 9 Two Parameters


Hi all,
Could you please help me figure out what I did wrong here?

// Write your function starting on line 3
var perimeterBox  = function(length,width); {
    return 2 * (length+width);



this line:

var perimeterBox  = function(length,width); {

the semi-colon interrupts the function, remove the semi-colon


It worked actually! thank you!


can i see an updated version of your code?


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