0 votes
in JavaScript by
The execution of a function stops when the program control encounters the _________ statement in the body of the function.

a) return statement

b) continue statement

c) break statement

d) goto statement

1 Answer

0 votes
by

Answer: A

Reason: Whenever a "return" statement is encountered by the program control inside the function's definition, it stops the execution of that function. Statements such as "break" and "continue" are commonly used in the definition of a loop to jump out of the loop (or to skip the rest statements inside the definition of the loop)

...