{"ScriptPreparationCode":"var loopShift = (arr) =\u003E {\r\n const _ = arr.shift();\r\n return arr.length ? loopShift(arr) : arr;\r\n};\r\n\r\nvar loopSpread = ([_, ...arr]) =\u003E {\r\n return arr.length ? loopSpread(arr) : arr;\r\n};\r\n\r\nvar arr = [1, 2, 3, 4];","TestCases":[{"Name":"Shift","Code":"var t1 = loopShift(arr);","IsDeferred":false},{"Name":"Spread","Code":"var t2 = loopSpread(arr);","IsDeferred":false}]}