Pure Javascript Mixins

I’ve been working on some javascript projects and wanted to be able have mixins, since I have some standard functionality that I use in all my classes, but the functionality suited being a mixin more than using prototype based class inheritance. I don’t need any fancy inheritance chaining - or ability to do typeof on the instances, so I wanted something simple and easy. This is what I got… (including tests for node.js):

One Response to “Pure Javascript Mixins”

  1. LESTER Says:


    MedicamentSpot.com. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. Low price drugs. Order drugs online

    Buy:Human Growth Hormone.Mega Hoodia.Lumigan.Synthroid.Valtrex.100% Pure Okinawan Coral Calcium.Retin-A.Actos.Zovirax.Zyban.Nexium.Arimidex.Petcam (Metacam) Oral Suspension.Prevacid.Accutane.Prednisolone….

Leave a Reply