Built-In and Custom Traits in JavaScript
– 13 min readThe Problem Polymorphism is important in any language and while it is very easy to write polymorphic code in JavaScript, it is relatively hard to manage that code. Without explicit types you must either assume the structure of a…