Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
MIT License
3.15k stars 116 forks source link

Removed check on Object.freeze function #493

Closed anthony-redFox closed 6 years ago

anthony-redFox commented 6 years ago

All major browsers support Object.freeze out of the box.

IE9 also support - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze

Yomguithereal commented 6 years ago

Thanks @anthony-redFox.

I agree with you the freeze feature detection is not needed anymore (what's more, it's even misleading because freezing is not performed on legacy browsers).

Let me merge this.