DEV Community

Discussion on: Object oriented JavaScript part 3

Collapse
 
theplebdev profile image
Tristan Elliott • Edited

Thank you for notifying me. I see I made that error in two places. The correct syntax is

const person ={
name:"Bob"
}
I have made the appropriate changes.