Home / Programming MCQs / JavaScript MCQs / Question

M

Mohini Yadav • 27.60K Points
Instructor II

Q. What will be the output of the following code snippet?

Code:
const example = ({ a, b, c }) => {
 console.log(a, b, c);
};
example(0, 1, 2);
(A) 0 1 2
(B) 0 Undefined Undefined
(C) Undefined Undefined Undefined
(D) None of the above

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.