{"ScriptPreparationCode":null,"TestCases":[{"Name":"Create object by function ","Code":"const carFactory = (brand, seats) =\u003E ({\r\n brand, seats\r\n})\r\n\r\nfor(let i = 0; i \u003C 20; i\u002B\u002B) {\r\n carFactory(\u0060brand-${i}\u0060, 5)\r\n}","IsDeferred":false},{"Name":"Create object by class","Code":"class Car {\r\n brand;\r\n seats;\r\n \r\n constructor(brand, seats) {\r\n \tthis.brand = brand;\r\n this.seats = seats;\r\n }\r\n}\r\n\r\nfor(let i = 0; i \u003C 20; i\u002B\u002B) {\r\n new Car(\u0060brand-${i}\u0060, 5)\r\n}","IsDeferred":false}]}