- Depends on what you’re trying to do, if you need an object to be immutable, what you could do is use Object.assign(newObj, list, of, sources), then work on that reference, we often use this when working with React apps.
If you use const on an object you’re storing the reference to the object...