function sayHello1()
{
console.log(“Hello !”)
}
console.log(“And the wait time starts…”)
setTimeout(sayHello1, 1000)
//setTimeout(sayHello1, 1000)
//setTimeout(sayHello1, 1000)
//setTimeout(sayHello1, 1000)
When I run the above function, The output Hello! printed 5 times. Why it printed 5 times as I have initialized the setTimeout function only once.