Re:Ask HN: How should you actually do objects in Javascript?
by ulisesrmzroche on Tuesday April 09, 2013 @12:21PM
(#5519151)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.