Setting up constants via proxies

added by JavaScript Kicks
8/11/2018 5:40:21 PM

690 Views

In this blog post, a describe a little hack for quickly setting up constants (think enum values, but not wrapped inside a namespace). It is more an educational puzzle than something you should actually use in your code.


0 comments