MCQs > IT & Programming > JavaScript > Correct method for creating an empty array?

JavaScript MCQs

Which of the following is a correct method for creating an empty array?

Answer

Correct Answer: var myArray = [];

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