That&#x27;s unfortunately not what es6 const does - const is about re-assignment, not about immutability. (Though you can implement immutability in terms of non-re-assinment if it is const-all-the-way-down, which javascript objects aren&#x27;t.) And you still need to re-write all the ecosystem to work with immutable objects.