{"ScriptPreparationCode":"var array = [1, 2, 3, 4, 5, 6, 7, 8]\r\nvar itemsToRemove = 2","TestCases":[{"Name":"array.slice()","Code":"array = array.slice(2)","IsDeferred":false},{"Name":"array.splice()","Code":"array.splice(0, itemsToRemove)","IsDeferred":false},{"Name":"array.shift()","Code":"for (let i = 0 ; i \u003C itemsToRemove ; i\u002B\u002B) array.shift()","IsDeferred":false},{"Name":"Spread syntax","Code":"var [one, tow, ...others] = array;\r\narray = others;","IsDeferred":false}]}