I have an array
daysoftheweek:['Monday', 'Tuesday','Wednesday', 'Thursday', 'Friday','Saturday', 'Sunday'],
Also I have functions
function totalMonday() {}
function totalTuesday() {}
Can I use variable substitution to call them?
total+{daysoftheweek[0]}