{"ScriptPreparationCode":"// Create an array of 1000 random intergers between 1 and 10000\r\nvar arrRandom = [];\r\nfor(var intCtr=0; intCtr\u003C1000; intCtr\u002B\u002B) {\r\n arrRandom.push(Math.floor(Math.random() * Math.floor(10000)));\r\n}","TestCases":[{"Name":"reduce","Code":"arrRandom.reduce((acc, v) =\u003E (acc.push(v), acc), [])","IsDeferred":false},{"Name":"for loop","Code":"arrRandom.reduce((acc, v) =\u003E ([...acc, v]), [])","IsDeferred":false}]}