I am trying to just give the user the string "Hello" everytime the proxy is called through the get method. Instead, I am getting an empty object, which is my target.
I've tried to use classes like String, Reflect with no positive results
let proxy = new Proxy({},{
get: function ()
{
return "Hello"
}
})
console.log(proxy)
Expected: "Hello"
Result: {}