inDepth.dev
  • Our Manifesto
Subscribe
Tagged

enumerated-types

A collection of 1 post

Understanding Enumerations
angular

Understanding Enumerations

This article is an introduction to enumerated types or enum’s in both JavaScript and TypeScript. Unlike TypeScript, JavaScript doesn’t directly support enumerations. So we will look at a way to get some of the benefits of enumerated types in JavaScript.

  • Todd Palmer
Todd Palmer Feb 1, 2019 • 5 min read
inDepth.dev © 2023
Powered by Ghost