Y
Hacker News
new
|
ask
|
show
|
jobs
by
aragonite
912 days ago
Right ... and it seems it's not even possible to simulate object keys using Proxy traps:
new Proxy( {}, { get(target, property) { return typeof property }, }, )[{}] === 'string'