Converting Multiple C# Enums to JavaScript

My last solution for converting C# enums to JavaScript was simple but needed some additional work to support multiple enums better. After some playing with different approaches, I found a simple one that works okay for me. This blog post describes my simple solution that turns multiple C# enums into JavaScript with one shot.

NB! This post is like chapter two to my previous enums post Converting C# enums to JavaScript. The code in this and the current post is for ASP.NET MVC.

Link: https://dzone.com/articles/converting-multiple-c-enums-to-javascript?utm_medium=feed&utm_source=feedpress.me&utm_campaign=Feed%3A+dzone%2Fwebdev