The differences between Object.freeze() vs Const in JavaScript
--
ES6 has brought several new features and methods into JavaScript since its release. These features have better improved our workflow and productivity as JavaScript developers. Amongst these new features are Object.freeze()
method and const
.
It is argued among a few developers especially newbies that these two feature works the same way, but NO they don’t…