a utility for creating expressive classes in JavaScript