Vanilla JavaScript Dynamically Calling a Function
Have you ever had the scenario where you needed to call a function, but based on a variable?
In my most recent use case, I have an area of dynamic modules and loop over them; then, if I find one of these, I want to call the function dynamically.
So h...
h.daily-dev-tips.com2 min read