Experimental
Create an extension accessor function that returns a memoized value for a given target object or function.
A base class for more complex extension types, providing static accessor and
management APIs. (e.g. MyExt.for(aTarget)
, MyExt.delete(aTarget)
, etc.)
Helper types for working with Ext Subclasses
Create an extension method: a function that invokes a memoized closure for a given target object or function.
This module provides helpers for creating extensions: a way of extending objects with additional (possibly private) data or methods via a WeakMap.
An extension property links a type of object (known as the "target") with a specific type of extension, via a factory function or class. When you use an extension property for a specific target, the extension is automatically created (via the factory) if it doesn't already exist.
Extension properties and methods are created either by inheriting from the Ext class, or by wrapping factory functions with ext() or method().