how to call the function multiple time code example
Example: call a function multiple times
function beCheerful() {
console.log('good morning');
}
for (var i = 0; i < 98; i++) {
beCheerful();
}
function beCheerful() {
console.log('good morning');
}
for (var i = 0; i < 98; i++) {
beCheerful();
}