Extends the JavaScript Proxy API to primitive values