In this article I will introduce traits.js, a small library to define, compose and instantiate traits. Traits are reusable sets of properties and form an alternative to multiple inheritance or mixins. Traits for Javascript A common pattern in Javascript is to add ("mixin") the properties of one object to another object. traits.js provides a few simple functions for performing this pattern safely a