MCQs > IT & Programming > JavaScript > A function becomes a generator if it contains one or more yield statements.

JavaScript MCQs

Is the following statement true or false?

A function becomes a generator if it contains one or more yield statements.


Answer

Correct Answer: True

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it