© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Yuri
Twitter: @Yuricodesbot | Self/Community Taught | Writer | Let's learn together
Style guides also known as coding conventions help improve code readability and provide a set of guidelines programmers abide by to make coding maintenance and production easier. This is extremely important when working in teams or even for your prac...
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.
Mads Akselsen
Web Development
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 :-)
Deni Tech
Developer, Writer, Creator. Zeveraar.
hola necesito laptop por favor jajajaja…vale
lol
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.