Learn from others' errors

Report a typo

Several errors sneaked into this code. You need to find and fix them.

Write a program in JavaScript
let animal = (
name: "cat",
sound: "meow",
animalSay() {
return "A " + "this".name + " says " + "this".sound;
}
);
___

Create a free account to access the full topic