{"ScriptPreparationCode":null,"TestCases":[{"Name":"splice","Code":"const myArray = [\u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027];\r\nconst newArray = myArray.splice(0, -1);","IsDeferred":false},{"Name":"filter","Code":"const myArray = [\u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027, \u0027asd\u0027];\r\nconst arrayLength = myArray.length - 1;\r\nconst newArray = myArray.filter((_, index) =\u003E index \u003C arrayLength);","IsDeferred":false}]}