{"ScriptPreparationCode":null,"TestCases":[{"Name":"no counter","Code":"const myArray = [];\r\nlet counter = 0;\r\nfor (let i = 0; i \u003C 20; i\u002B\u002B) {\r\n\tmyArray.push(i); \r\n}\r\nconsole.log(myArray[myArray.length-1])","IsDeferred":false},{"Name":"with counter","Code":"const myArray = [];\r\nlet counter = 0;\r\nfor (let i = 0; i \u003C 20; i\u002B\u002B) {\r\n\tmyArray.push(i); \r\n\tcounter\u002B\u002B;\r\n}\r\nconsole.log(myArray[counter-1])","IsDeferred":false}]}