QuestionQ100

VerifiedControl Flow – Conditional Blocks and Loops

Which of the following statements are true?

Choose two
Explanation

JavaScript supports recursion, so a function can invoke itself. It also permits redeclaration of function declarations with the same name in applicable script or function scopes. A return value is not required, and a function declaration can be invoked before its written definition because declarations are hoisted.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!