The object to proxify
Optionalfrozen: true
Whether the proxy should throw on mutation (default: true)
Optionallock: boolean
Whether to deep-freeze the underlying target (default: frozen)
Optionalskip: WeakSet<object>
A WeakSet of objects to skip during deep-freeze
The proxified object
Creates a Stealth Proxy pattern to allow for on-demand lazy property discovery and registration. Provides deep-freezing and bounding capabilities depending on options.
The object to proxify
Whether the proxy should throw on mutation (default: true)
Optionallock: boolean
Whether to deep-freeze the underlying target (default: frozen)
Optionalskip: WeakSet<object>
A WeakSet of objects to skip during deep-freeze
The proxified object
Creates a Stealth Proxy pattern to allow for on-demand lazy property discovery and registration. Provides deep-freezing and bounding capabilities depending on options.
The object to proxify
Optionalfrozen: boolean
Whether the proxy should throw on mutation (default: true)
Optionallock: boolean
Whether to deep-freeze the underlying target (default: frozen)
Optionalskip: WeakSet<object>
A WeakSet of objects to skip during deep-freeze
The proxified object
Creates a Stealth Proxy pattern to allow for on-demand lazy property discovery and registration. Provides deep-freezing and bounding capabilities depending on options.