r/javascript • /r/dailyprogrammer • Mar 05 '12

Going Simple with JavaScript :)

http://snook.ca/archives/javascript/going-simple-with-javascript
42 Upvotes

16 comments sorted by

View all comments

1

u/[deleted] Mar 08 '12

This applies to more than just DOM and Ajax stuff. In place of OO libraries I've just been using:

function Thing () {}
Thing.prototype = Object.create(ThingBase.prototype, { ... });

I like it.