{"ScriptPreparationCode":null,"TestCases":[{"Name":"for","Code":"const array = [\u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsf1dsfdfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsf1wetwtwe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfds1fsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfdsfsd1fsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetw1twe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsfdsf1dfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027]\r\nconst final = []\r\nfor (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n\tconst item = array[i]\r\n if (item.includes(\u00271\u0027)) {\r\n \tfinal.push(item)\r\n }\r\n}","IsDeferred":false},{"Name":"filter","Code":"const array = [\u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsf1dsfdfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsf1wetwtwe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfds1fsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfdsfsd1fsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetw1twe\u0027, \u0027dsfdsfdfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027, \u0027sdfsdfd\u0027, \u0027dsfwetwtwe\u0027, \u0027dsfdsf1dfsd\u0027, \u0027sdfdsfsdfsfsdf\u0027]\r\nconst final2 = array.filter(item =\u003E item.includes(\u00271\u0027))","IsDeferred":false}]}