{"ScriptPreparationCode":"var array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\r\nvar sum = 0;\r\n\r\nfunction getRandomInt(max) {\r\n return Math.floor(Math.random() * max);\r\n}\r\n\r\nfunction sumJS(parameters) { \r\n parameters.forEach((n) =\u003E sum \u002B= getRandomInt(n));\r\n}\r\n\r\nfunction sumLodash(parameters) { \r\n _.forEach(parameters, (n) =\u003E sum \u002B= getRandomInt(n));\r\n}","TestCases":[{"Name":"JS sum","Code":"sumJS(array)","IsDeferred":false},{"Name":"Lodash sum","Code":"sumLodash(array)","IsDeferred":false}]}