Const Vs freeze for Object
It appears there is a small typo in your question. Assuming you meant const object1 vs...
Tags: javascript, typescript, es6, programming