Hacker News new | ask | show | jobs
by pvg 3675 days ago
What's the particular cleverness in that? It seems it would also fail for objects with non-enumerable properties and properties with ES6 Symbols for names.