What will be the output of following CODE snippet?function foo(a = 10, b = 5) { console.log(a, b);}foo(6);(1)10, 5(2)10, 6(3)undefined ERROR(4)6, 5Answer:-(4)6, 5
Your experience on this site will be improved by allowing cookies. Read Cookie Policy