{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array.from(new Set(array))","Code":"const numbers = [2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5];\r\nconst arr = Array.from(new Set(numbers));\r\nconsole.log(arr);","IsDeferred":false},{"Name":"[...new Set(array)]","Code":"const numbers = [2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5,2,3,4,4,2,3,3,4,4,5,5,6,6,7,5,32,3,4,5];\r\nconst arr = [...new Set(numbers)];\r\nconsole.log(arr);","IsDeferred":false}]}