const arr = [2,35,67,3];
{"ScriptPreparationCode":"const arr = [2,35,67,3];","TestCases":[{"Name":"Array.sort","Code":"const arr = [2,35,67,3];\r\nconst a = arr.sort();\r\nconst min = a[0];\r\nconst max = a[1];","IsDeferred":false},{"Name":"Math min and max","Code":"const arr = [2,35,67,3];\r\nconst min = Math.min(...arr);\r\nconst max = Math.max(...arr);","IsDeferred":false}]}