We can use a symbol to create a key to an object property that can not be easily accessed by other parts of the code. These are the hidden properties of the object.
In the example given above,
It does not show the
because the name property is hidden.
We need square brackets to access the