{"ScriptPreparationCode":"var rows = (new Array(1000)).fill(null).map((val,index) =\u003E {\r\n\treturn {id: \u0060AA${index}\u0060}\r\n})","TestCases":[{"Name":"slice","Code":"const lastId = rows[rows.length - 1].id;\r\nfor (let i = rows.length - 1; i \u003E -1; i--) {\r\n if (rows[i].id !== lastId) {\r\n rows.slice(0, i \u002B 1);\r\n break;\r\n }\r\n}","IsDeferred":false},{"Name":"pop","Code":"rows.pop()","IsDeferred":false}]}