This posts looks beyond everyday usage of JavaScript’s objects. The fundamentals of JavaScripts objects are for the most part about as simple as using JSON notation. However, JavaScript also provides sophisticated tools to create objects in interesting and useful ways, many of which are now available in the latest versions of modern browsers.
Contents:
- getters and setters
- defineProperty
- defineProperties
- Object.create
- sealing objects, freezing them and preventing extensibility
- valueOf and toString
- Symbol
- Proxy
Your new post is loading...