{"ScriptPreparationCode":null,"TestCases":[{"Name":"filter","Code":"const words = [\u0022spray\u0022, \u0022limit\u0022, \u0022elite\u0022, \u0022exuberant\u0022, \u0022destruction\u0022, \u0022present\u0022];\r\n\r\nconst result = words.filter(function(word) {\r\n\treturn word.length \u003E 6\r\n});","IsDeferred":false},{"Name":"for loop","Code":"const words = [\u0022spray\u0022, \u0022limit\u0022, \u0022elite\u0022, \u0022exuberant\u0022, \u0022destruction\u0022, \u0022present\u0022];\r\n\r\nconst result = []\r\n\r\nfor (let i = 0; i \u003C words.length; i \u002B= 1) {\r\n\tconst word = words[i];\r\n\r\n\tif (word.length \u003E 6) {\r\n\t\tresult.push(word);\r\n\t}\r\n}","IsDeferred":false},{"Name":"forEach","Code":"const words = [\u0022spray\u0022, \u0022limit\u0022, \u0022elite\u0022, \u0022exuberant\u0022, \u0022destruction\u0022, \u0022present\u0022];\r\n\r\nconst result = []\r\n\r\nwords.forEach(function(word) {\r\n\tif (word.length \u003E 6) {\r\n\t\tresult.push(word);\r\n\t}\r\n});","IsDeferred":false}]}