0
How to fix the error
2 odpowiedzi
+ 7
Look at the error message. Look up the line. Inspect the line carefully.
Line 33
console.log(this.name + " is a running machine.");
Apart from this: you did not define "cat", you defined "Layley". See lines 45 and 46.
0
But there is no missing )