Home / Programming MCQs / JavaScript MCQs / Question

P

Praveen Singh • 27.20K Points
Instructor II

Q. Which one of the following codes is correct for concatenating the strings passed into the function?

(A) functionconcatenate() { returnString.prototype.concat('', arguments); }
(B) functionconcatenate() { returnString.prototype.concat.apply('', arguments); }
(C) functionconcatenate() { returnString.prototype.apply('', arguments); }
(D) functionconcatenate() { returnString.concat.apply('', arguments); }

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.