Create a Method on an Object new

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

let dog = {
name: "Spot",
numLegs: 4,
  return `This dog has ${dog.numLegs} legs.`;

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.104 Safari/537.36

Challenge: Create a Method on an Object

Link to the challenge:

Hello @TranAnhTu1998
This is really straight forward from the instructions. Please reread the information given and look at the example provided. You are required to do almost the same as the example given. I’m sure you will figure it out.

1 Like

Ok :)). Thanks you!!!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.