The JavaScript object is a relatively new addition to the language, having been introduced in ES6. It's based on the software design pattern of the same name, which creates a wrapper for another object. There are a variety of available traps that can be used to customize the behavior of the target object.
4 Comments
Sort: