2/4/2019 2:06 PM | |
Joined: 4/10/2017 Last visit: 3/14/2023 Posts: 12 Rating: (0) |
So, may be you know how to use "Enum" in case of using JSON?) ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 2/5/2019 8:55:12 AMNew subject after splitting |
|
2/4/2019 2:24 PM | |
Joined: 10/2/2014 Last visit: 3/25/2024 Posts: 88 Rating: (15) |
afaik JavaScript has no definition for ENUM by default, what I prefer is using an array or an object for that case - depending on the data type you want to use. here its simply descripted how other people uses JavaScript regarding an ENUM type: |
This contribution was helpful to1 thankful Users |
Follow us on