{"ScriptPreparationCode":"var nested = Array.from({\r\n length: 10000\r\n}).map(() =\u003E Math.floor(Math.random() * Math.floor(10)));\r\nvar list = [2,3,4,5];","TestCases":[{"Name":"1","Code":"nested.map(item =\u003E {\r\n if (list.indexOf(item) === -1) {\r\n list.push(item);\r\n }\r\n});","IsDeferred":false},{"Name":"2","Code":"const selectedNested = nested.filter(item =\u003E list.indexOf(item) === -1);\r\nlist = list.concat(selectedNested);","IsDeferred":false}]}