Hello there,
I am a beginner and I’m taking the freeCodeCamp tutorial. In the ES6 section “Prevent object mutation” I came across “object.review”. I tried to look it in google but didn’t find any info on this assignments. What exactly “object.review” dose?
Thank you!
HI @milchob , welcome to the forum.
That’s simply accessing the object property with the dot notation. If you see above: obj is defined having two keys:
dot
obj
"name" "review"
So object.review was accessing whatever value was stored under that key. Hope it helps
object.review
OMG… well… sorry for the stupid question… and thank you for the reply!
No question is “stupid”, and never be sorry for being curious
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.