{"ScriptPreparationCode":"const items = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];\r\nconst startIndex = 0;\r\n","TestCases":[{"Name":"While","Code":"const endIndex = 14;\r\nlet index = startIndex;\r\nconst trimmedItems = [];\r\n\r\n while (index \u003C= endIndex \u0026\u0026 index \u003C items.length) {\r\n trimmedItems.push(items[index]);\r\n index\u002B\u002B;\r\n }","IsDeferred":false},{"Name":"slice","Code":"const trimmedItems = items.slice(startIndex, 15)","IsDeferred":false}]}