Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

enum javascript

const DaysEnum = {"monday":1, "tuesday":2, "wednesday":3, ...}
Object.freeze(DaysEnum)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #enum #javascript
ADD COMMENT
Topic
Name
2+1 =