Appelez la fonction JavaScript Utilisez le tableau

var array_of_functions = [
    first_function('a string'),
    second_function('a string'),
    third_function('a string'),
    forth_function('a string')
]
for (i = 0; i < array_of_functions.length; i++) {
    array_of_functions[i]();
}
Annoying Anaconda