Suppose there is a function (from a module) named fiveStar and I want to call it using a variable,
For e.g using window, I could do this:
const num = 'five';
const functionName = `${num}Star';
window[functionName]();
Is there any other way I could do this without using window?