Skip to content

Commit 208b757

Browse files
authored
Update 14-ES6ParameterHandling.js
1 parent c63f7c8 commit 208b757

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter01/14-ES6ParameterHandling.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function sum2 (x, y, z) {
1414
z = 3;
1515
return x + y + z;
1616
};
17-
console.log(sum2(4,2)); //outpus 10
17+
console.log(sum2(4,2)); //outpus 9
1818

1919
//******* EcmaScript 6: spread operator ('...')
2020
var params = [3, 4, 5];

0 commit comments

Comments
 (0)