A

Admin • 833K Points
Coach

Q. What is the purpose of the dynamic scoping?

  • (A) Variables can be declared outside the scope
  • (B) Variables must be declared outside the scope
  • (C) Variables cannot be declared outside the scope
  • (D) None of the mentioned
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

Dynamic scoping creates variables that can be called from outside the block of code in which they are defined. A variable declared in this fashion is sometimes called a public variable.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.