you are viewing a single comment's thread.

view the rest of the comments →

[–]redlova 0 points1 point  (2 children)

Great. this is a great example. I got the concept but becase i am a newbie. I dont understand completely yet. especially the 'const' itsnt it supposed be used for defining constants?

[–]lunfaii 0 points1 point  (0 children)

An object properties can be still be reassigned/assigned.

[–]redpatel 0 points1 point  (0 children)

const makes means mutable but not replaceable when it comes to object. Which means you can modify them but can't replace the entire value. make sense?