{"ScriptPreparationCode":"var types = [\u0027Type1\u0027, \u0027Type2\u0027, \u0027Type3\u0027];\r\nvar getType = (i) =\u003E types[i % 3];\r\nvar fillList = (numberOfItems) =\u003E {\r\n const list = [];\r\n for (var i = 0; i \u003C numberOfItems; i\u002B\u002B) {\r\n list.push({\r\n name: \u0060dataItem${i}\u0060,\r\n value: i,\r\n type: getType(i)\r\n });\r\n }\r\n return list;\r\n};\r\n\r\nvar dataItems100 = fillList(100);\r\nvar dataItems1000 = fillList(1000);\r\n\r\nvar dataItems100OfType1And2 = dataItems100.filter(dataItem =\u003E dataItem.type === types[0] || dataItem.type === types[1])\r\nvar dataItems1000OfType1And2 = dataItems1000.filter(dataItem =\u003E dataItem.type === types[0] || dataItem.type === types[1])","TestCases":[{"Name":"Filter 100 items with include","Code":"dataItems100.filter(dataItem =\u003E !dataItems100OfType1And2.includes(dataItem));","IsDeferred":false},{"Name":"Filter 100 items without include","Code":"dataItems100.filter(dataItem =\u003E dataItem.type !== types[0] \u0026\u0026 dataItem.type !== types[1]);","IsDeferred":false},{"Name":"Filter 1000 items with include","Code":"dataItems1000.filter(dataItem =\u003E !dataItems1000OfType1And2.includes(dataItem));","IsDeferred":false},{"Name":"Filter 1000 items without include","Code":"dataItems1000.filter(dataItem =\u003E dataItem.type !== types[0] \u0026\u0026 dataItem.type !== types[1]);","IsDeferred":false}]}