A class-based enum pattern for JavaScript Tuesday, January 28, 2020 Teklinks In this blog post, we examine a pattern for implementing enums in JavaScript that is based on classes. We’ll also take a look at Enumify, a library that helps with the enum pattern. An enum is a type that consists of a set of values. Full article Email This BlogThis! Share to X Share to Facebook