{"ScriptPreparationCode":null,"TestCases":[{"Name":"lodash sum","Code":"const array = [4381, 1252, 35, 3456, 2726, 5553, 428, 2780, 4858, 8675, 446, 1426, 2864, 2235, 3320, 1561, 876, 8846, 122, 8076, 3440, 7604, 6486, 6725, 9840, 4568, 7817, 6310, 8477, 6835, 4011, 4762, 2358, 7583, 2376, 80, 5057, 8005, 8921, 3547, 7172, 4627, 698, 1796, 9368, 4778, 8412, 9195, 1278, 7992, 2091, 8025, 8586, 8344, 8380, 9398, 8652, 8613, 2789, 1044, 2711, 6886, 2021, 4682, 5356, 4944, 9344, 3863, 8705, 9233, 6525, 4933, 6252, 4408, 2885, 9206, 900, 8021, 7225, 866, 3048, 2005, 4913, 2632, 2595, 882, 4697, 7561, 7455, 2, 8567, 9786, 845, 7502, 7343, 7077, 5132, 5177, 4042, 1608];\r\n_.sum(array)","IsDeferred":false},{"Name":"javascript reduce","Code":"const array = [4381, 1252, 35, 3456, 2726, 5553, 428, 2780, 4858, 8675, 446, 1426, 2864, 2235, 3320, 1561, 876, 8846, 122, 8076, 3440, 7604, 6486, 6725, 9840, 4568, 7817, 6310, 8477, 6835, 4011, 4762, 2358, 7583, 2376, 80, 5057, 8005, 8921, 3547, 7172, 4627, 698, 1796, 9368, 4778, 8412, 9195, 1278, 7992, 2091, 8025, 8586, 8344, 8380, 9398, 8652, 8613, 2789, 1044, 2711, 6886, 2021, 4682, 5356, 4944, 9344, 3863, 8705, 9233, 6525, 4933, 6252, 4408, 2885, 9206, 900, 8021, 7225, 866, 3048, 2005, 4913, 2632, 2595, 882, 4697, 7561, 7455, 2, 8567, 9786, 845, 7502, 7343, 7077, 5132, 5177, 4042, 1608];\r\narray.reduce((a,b) =\u003E a\u002Bb)","IsDeferred":false},{"Name":"for of","Code":"const array = [4381, 1252, 35, 3456, 2726, 5553, 428, 2780, 4858, 8675, 446, 1426, 2864, 2235, 3320, 1561, 876, 8846, 122, 8076, 3440, 7604, 6486, 6725, 9840, 4568, 7817, 6310, 8477, 6835, 4011, 4762, 2358, 7583, 2376, 80, 5057, 8005, 8921, 3547, 7172, 4627, 698, 1796, 9368, 4778, 8412, 9195, 1278, 7992, 2091, 8025, 8586, 8344, 8380, 9398, 8652, 8613, 2789, 1044, 2711, 6886, 2021, 4682, 5356, 4944, 9344, 3863, 8705, 9233, 6525, 4933, 6252, 4408, 2885, 9206, 900, 8021, 7225, 866, 3048, 2005, 4913, 2632, 2595, 882, 4697, 7561, 7455, 2, 8567, 9786, 845, 7502, 7343, 7077, 5132, 5177, 4042, 1608];\r\nlet result = array[0];\r\nfor(let i = 1; i \u003C array.length; i\u002B\u002B) {\r\n result \u002B= array[i];\r\n}","IsDeferred":false}]}