let EVERYTHING = new Proxy({}, {get: (_, k) => k.toString().match('Symbol\.') ? () => 'OR IS IT?' : EVERYTHING});
console.log(`${EVERYTHING . IS . NOT . WHAT . IT . SEEMS}`);
Yay proxies?
This is supported in Chrome, and Node.
No comments yet
JavaScript: Everything is not what it seems | Dark Hacker News