{"ScriptPreparationCode":"existingIds = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20];\r\nnewIds = [5,18,21,22,23,24,25,26,27]\r\n\r\nfilterUniqueValues = (id, index, array) =\u003E index === array.indexOf(id);\r\n","TestCases":[{"Name":"array set unique","Code":"const resultingArray = Array.from(new Set(existingIds.concat(newIds)))","IsDeferred":false},{"Name":"array filter unique","Code":"const resultingArray = existingIds.concat(newIds).filter(filterUniqueValues);","IsDeferred":false}]}