Can you spot the mistake in this script?

The name-value pairs of the dog object aren't separated by commasThe bark() method isn't passed any argumentsThe eat() method doesn't return anythingThe dog object doesn't use a constructor function

Excellent! We have to separate name-value pairs with commas. The methods don't need to have arguments or return anything.

Yikes! We have to separate name-value pairs with commas. The methods don't need to have arguments or return anything.