DEV Community


Discussion on: JS: Functions inside Constants, When, How, and Why to use them

darkwiiplayer profile image

It's definitely not something I see often in the javascript world, which, I assume, is partly due to how its use slowly shifted from very small scripts to add simple interactivity to complete applications that run entirely in javascript.