✨Proxy examples
JS ⟩ object ⟩ built-in ⟩ Proxy ⟩ examples
identity (proxy) - returns every key as is, that is
identity[key] === key
.read-only proxy - make an object read-only.
Last updated
JS ⟩ object ⟩ built-in ⟩ Proxy ⟩ examples
identity (proxy) - returns every key as is, that is identity[key] === key
.
read-only proxy - make an object read-only.
Last updated