DEV Community

Discussion on: Master Objects in JS 🍨 (Part 1)

Collapse
jrmatanda profile image
Ben Matt, Jr. Author

Thanks for the tip, but as you already know if it ain't broke don't touch it 😉, but honestly I didn't though about it thanks 👍

Collapse
mellen profile image
Matt Ellen

If you change personTwo to

let personTwo = {
  name: "james",
  lastName: "Owen",
};
Enter fullscreen mode Exit fullscreen mode

Then you still get true, but the properties are not all the same. Is that what you intended?

Thread Thread
jrmatanda profile image
Ben Matt, Jr. Author

No your feedbacks are priceless thanks a lot, I've changed it thanks