Which of the following options will return 6?
function sumValues(x, y, z) {
return x + y + z;
}You missed this one before
With the spread operator ..., we can spread iterables to individual elements. The sumValues function receives three arguments: x, y and z. ...[1, 2, 3] will result in 1, 2, 3, which we pass to the sumValues function.
Question 117 · see the original (opens in a new tab)
or press Enter