MCQs > IT & Programming > JavaScript > Consider the function f: var f = function(a,b,c) { console.log(a,b,c); } Out of the options below, what is the right way of calling the function in order for the console to output nothing else than "1 2 3"?

JavaScript MCQs

Consider the function f: var f = function(a,b,c) { console.log(a,b,c); } Out of the options below, what is the right way of calling the function in order for the console to output nothing else than "1 2 3"?

Answer

Correct Answer: f.apply(f, [1,2,3])

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