3 ms·
Is there a good description somewhere of how to use new methods like Object.freeze, Object.defineProperty etc?
by VMG 9y ago
Is there a good description somewhere of how to use new methods like Object.freeze, Object.defineProperty etc?
- Axnyff 9y agoThese are not new ES6 features. I think you can get a really good explanation from the you don't know js serie. https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch3.md https://github.com/getify/You-Dont-Know-JS/blob/master/this%... The whole serie of book is worth it and free to read on github
- VeejayRampay 9y agoObject.defineProperty is actually quite ancient yeah.