9. Functions with two parameters


help! my code crashes my page.............

var perimeterBox = function(length, width){

console.log("costly price");
perimeterBox(3, 9);



perimeterBox values should be out of the curly braces.

var perimeterBox = function (length, width) {
console.log("Costly Price");

perimeterBox(3, 9);


OMG seriously??????!!!?! and i was so close too..... thanks for the correction man


Yes a function only runs when you call it from outside of it. When the function call is inside of the function it will as well only be active when the function is called from outside.