Enum is a javascript module that introduces the Enum Type. It works for node.js, in the browser and for deno.
Returns an array of all enumerable symbol properties found directly upon a given object
Define multiple non-enumerable properties at once. Uses Object.defineProperty
when available; falls back to standard assignment in older engines.
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.