+ 2
Can anybody understand me this.?
const test = (a, b = 3, c = 42) => a + b + c; console.log(test(5));
1 Resposta
+ 5
// Create a function with a single line with 3 parameter variables (a, b=3 by default and c=42 by default), make the additions using a "+" operator for the 3 variables and print it using console.log().