JavaScript: Everything is not what it seems
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.
0 comments
[ 3.1 ms ] story [ 12.5 ms ] threadNo comments yet.