Having trouble on 9. Functions with two perimeters. I don't know what I did wrong



SyntaxError: missing before statement

var perimeterBox(length, width) {
    return length + length + width + width;


You are trying to create a function here I believe but you failed to write that function.

var perimeterBox = function(length, width) {

Hope this helps! :smile:


Lol wow, I can't believe I did that. I was stuck on this for like 20 minutes. Thank you!!!


You're welcome.

Have fun coding! :smile: