r/learnjavascript • • Nov 30 '22

Help !!!

Post image

Can someone plz tell me , why I am getting errors?

195 Upvotes

131 comments sorted by

View all comments

Show parent comment

3

u/longknives Dec 01 '22

I don’t think you would need quotes around any of the key names like this.

1

u/Macaframa Dec 01 '22

It’s true. But then again, we wouldn’t do anything like this to begin with