call a function multiple times

Solutions on MaxInterview for call a function multiple times by the best coders in the world

showing results for - "call a function multiple times"
Leon
28 Jan 2018
1function beCheerful() {
2    console.log('good morning');
3}
4
5for (var i = 0; i < 98; i++) {
6    beCheerful();
7}