MCQs > IT & Programming > JavaScript >

Consider the following variable declarations: var a="adam" var b="eve" Which of the following would return the sentence "adam and eve"?

JavaScript MCQs

Consider the following variable declarations: var a="adam" var b="eve" Which of the following would return the sentence "adam and eve"?

Answer

Correct Answer: a.concat(" and ", 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