at time stamp 01.45.48 how function is working it sholud be rotating everytime because whenever we hit return greet("x) we jump on greet function it should be undefined but why it is giving the right output
At time stamp 01.45.48 how function is working it sholud be rotating everytime because whenever we hit return greet("x) we jump on greet function it should be undefined but why it is giving the right output
@Aditya-Kushwaha-914550392281281 in your return greet('X')
, greet function is called, and Good Morning X is printed, and as you may know that the return type of the statement in js in undefined, and greet(‘X’) is a call statement, hence undefined