MCQs > IT & Programming > JavaScript > How can you convert a comma separated string variable txt into an array?

JavaScript MCQs

How can you convert a comma separated string variable txt into an array?

Answer

Correct Answer: txtArray = txt.split(',');

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