Traverse a Proxy chain and return the underlying raw target object. Hardened against prototype-climbing bugs and cyclic $Target chains.
The object to unwrap
The underlying raw target object
const raw = unwrap(proxyObj); Copy
const raw = unwrap(proxyObj);
Traverse a Proxy chain and return the underlying raw target object. Hardened against prototype-climbing bugs and cyclic $Target chains.