Need help on Functions 4/7 Parameters || part 3

function takeOrder(topping, crustType) {
console.log(‘Order:’ + crustType + ‘crust topped with’ + topping);
takeOrder(thincrust’,’ bacon);

error is:Did you call the takeOrder function with two strings within its parentheses, separated by commas?


Please, review last line:

takeOrder(thincrust',' bacon);

Your second argument is not correct.

I got it thanks for your help

1 Like