Extend Constructors to Receive Arguments - Need Help Please

Tell us what’s happening:
Can’t seem to figure out how to use the cardinal function. Thanks

Your code so far

let cardinal  = new Dog() {
  cardinal.name = "Huskar"
  cardinal.color = "Brown"
  cardinal.numLegs = 4
}


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/extend-constructors-to-receive-arguments/

You are not supposed to be using a cardinal function. You are supposed to be creating a Dog constructor. Below are the instructions:

Create another Dog constructor. This time, set it up to take the parameters name and color, and have the property numLegs fixed at 4. Then create a new Dog saved in a variable terrier. Pass it two strings as arguments for the name and color properties.