Vidyalelo
JavaScript · Q24

Classes And Modules

Programming · JavaScript · question 24

Q24

The scope of a function is also called as

A.
The function’s scope
B.
Module function
Answer
C.
Modulated function
D.
Private function

Answer: Option B

Solution

Answer: Option B
Solution:
The scope of a function can be used as a private namespace for a module. Therefore, the scope of a function is called a module function.