MCQs > IT & Programming > JavaScript > Right way to combine two arrays into a new array? var a = ['a', 'b', 'c']; var b = ['d', 'e', 'f'];

JavaScript MCQs

What is the right way to combine two arrays into a new array? var a = ["a", "b", "c"]; var b = ["d", "e", "f"];

Answer

Correct Answer: var c = a.concat(b);

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