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.