An enum is a data type consisting of a set of named values. Enums are not supported in JavaScript natively.