{"ScriptPreparationCode":"var X = \u0027x\u0027\r\nvar newData = [X, X, X, X, X, X]\r\nvar limiter = 4\r\nvar data = [\r\n [1, 2, 3, 4, 5, 6],\r\n [3, 4, 5, 6, 7, 8],\r\n [1, 2, 3, 4, 5, 6],\r\n [3, 4, 5, 6, 7, 8],\r\n [1, 2, 3, 4, 5, 6],\r\n [3, 4, 5, 6, 7, 8]\r\n]\r\n\r\nvar newDataGen = (num) =\u003E Array.from(Array(num)).map(() =\u003E Math.floor(Math.random() * 10))\r\n\r\nvar dataGen = (num, num2) =\u003E Array.from(Array(num)).map(() =\u003E Array.from(Array(num2)).map(() =\u003E Math.floor(Math.random() * 10)))","TestCases":[{"Name":"Ramda Drop - Fixed","Code":"newData.map((dataPoint, idx)=\u003E{\r\n return R.drop(limiter, data[idx]).concat(dataPoint) \r\n})","IsDeferred":false},{"Name":"Vanilla JS Slice - Fixed","Code":"newData.map((dataPoint, idx)=\u003E{\r\n return data[idx].slice(Math.max(0,limiter), Infinity).concat(dataPoint) \r\n})","IsDeferred":false},{"Name":"Ramda Drop - Random Small","Code":"newDataGen(10).map((dataPoint, idx)=\u003E{\r\n return R.drop(limiter, dataGen(10,10)[idx]).concat(dataPoint) \r\n})","IsDeferred":false},{"Name":"Vanilla JS Slice - Random Small","Code":"newDataGen(10).map((dataPoint, idx)=\u003E{\r\n return dataGen(10,10)[idx].slice(Math.max(0,limiter), Infinity).concat(dataPoint) \r\n})","IsDeferred":false},{"Name":"Ramda Drop - Random Large","Code":"newDataGen(300).map((dataPoint, idx)=\u003E{\r\n return R.drop(limiter, dataGen(300,300)[idx]).concat(dataPoint) \r\n})","IsDeferred":false},{"Name":"Vanilla JS Slice - Random Large","Code":"newDataGen(300).map((dataPoint, idx)=\u003E{\r\n return dataGen(300,300)[idx].slice(Math.max(0,limiter), Infinity).concat(dataPoint) \r\n})","IsDeferred":false}]}