{"version":"1.0","type":"rich","title":"JavaScript Enums with ES6, Type Checking and Immutability","description":"This example demonstrates a JavaScript Enum implementation that combines ES6 classes, type checking, and immutability through Object.freeze. It shows how EnumSymbol instances store symbolic identifiers alongside optional numeric values and descriptions, while the Enum class provides collection methods like symbols(), keys(), and contains(). The code includes concrete usage examples with BackoffStrategy and ReadyState enums, illustrating value comparison, display formatting, and description access. It relies on ES6 Symbol.for, computed properties, and the assert library for validation.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-387d768d79177c8ac0a19aecd9fa731b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}