JS Coding Questions Logo
JS Coding Questions
#12🎯 Exercise💻 Code

JavaScript Coding Exercise 12

Advertisement

728x90
javascript
1const printNumbersArrow = (first, second, first) => {
2
3console.log(first, second, first);
4};
5
6printNumbersArrow(1, 2, 3);

Choose the correct output:

A
1, 2, 3
B
3, 2, 3
C
SyntaxError: Duplicate parameter name not allowed in this context
D
1, 2, 1

Advertisement

Responsive Ad
12of86