Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote a simple library based off of Crockford's writings to make creating reusable constructor functions that supported public/protected/private simple (and without resorting to silly "if it's preceded with an underscore don't touch it!" business). It was written mainly with Node.js in mind, but you could strip out the CommonJS package stuff and use it that way.

https://github.com/zoips/Gizmo



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: