fix(seed): Change variable name from array to args (#16472)

Changed variable name from array to args. It will validate the last validation. Particular variable name is required but it is not mentioned in description.

Closes #16351
This commit is contained in:
Sagar Jha
2018-01-17 14:15:19 -05:00
committed by mrugesh mohapatra
parent 6e3fb92c9b
commit 6307c0f04b

View File

@ -367,8 +367,8 @@
"const sum = (function() {", "const sum = (function() {",
" \"use strict\";", " \"use strict\";",
" return function sum(x, y, z) {", " return function sum(x, y, z) {",
" const array = [ x, y, z ];", " const args = [ x, y, z ];",
" return array.reduce((a, b) => a + b, 0);", " return args.reduce((a, b) => a + b, 0);",
" };", " };",
"})();", "})();",
"console.log(sum(1, 2, 3)); // 6" "console.log(sum(1, 2, 3)); // 6"