Live data from Hacker News

Ask HN: How should you actually do objects in Javascript?

news.ycombinator.com

1–3 of 3 posts

Re: Ask HN: How should you actually do objects in Javascript?

#3
There's a lot of special rules here, though. "Effective Javascript", in the the objects chapter is the best guide I've read to understanding JS objects. A quick tip is to implement lightweight dictionaries as literal objects to avoid prototype pollution.