Mediocre content about life and my technical interests.

⟵ All Tags


Built-In and Custom Traits in JavaScript

13 min read

The 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…