Yeah, properties on const object can be changed. It's common practice in the company im working currently.
But Object.freeze() can be used to make properties non-writeable. I think it can be used on arrays as well :-)
hola necesito laptop por favor jajajaja…vale
Dylan Dizon
Development and Dijon.
With objects and arrays, since they are references, you can technically change their contents even if you declare them with const.
Using const is just a better practice to indicate that those objects or arrays should not be modified.