Can you spot the mistake in this script?
dog object aren't separated by commasbark() method isn't passed any argumentseat() method doesn't return anythingdog object doesn't use a constructor functionExcellent! 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.