{"ScriptPreparationCode":null,"TestCases":[{"Name":"Set","Code":"let tracker = new Set();\r\n\r\nconst messageArray = [\r\n{mac:\u0022E4:2B:34:17:E3:E4\u0022,firstTimeSeen:\u00222020-03-10 13:18:07\u0022,lastTimeSeen:\u00222020-03-10 13:18:09\u0022,power:\u0022-63\u0022,packets:\u002214\u0022,BSSID:\u00227A:8A:20:06:4D:6B\u0022,probedESSIDs:\u0022CS Guest\u0022}, \r\n{mac:\u0022E4:2B:34:17:E3:E4\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:14\u0022,power:\u0022-56\u0022,packets:\u00225\u0022,BSSID:\u00227A:8A:20:06:4D:6B\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022},\r\n{mac:\u0022D2:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D1:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D3:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D5:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D6:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D7:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D8:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D9:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DA:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DB:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DC:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DF:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:1B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:2B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:4B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:5B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:6B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:7B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:8B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:9B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:AB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:BB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:CB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:DB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:EB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:FB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022E4:A4:71:D8:DF:DD\u0022,firstTimeSeen:\u00222020-03-10 13:19:17\u0022,lastTimeSeen:\u00222020-03-10 13:19:17\u0022,power:\u0022-51\u0022,packets:\u00222\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}\r\n];\r\n\r\nfunction dupeCheck(array){\r\n array.forEach(messageObject =\u003E {\r\n\r\n if (!tracker.has(messageObject.mac)){\r\n tracker[messageObject.mac] = messageObject;\r\n }\r\n });\r\n}\r\n\r\ndupeCheck(messageArray);","IsDeferred":false},{"Name":"Object","Code":"let trackin = {};\r\n\r\nconst messageArray = [\r\n{mac:\u0022E4:2B:34:17:E3:E4\u0022,firstTimeSeen:\u00222020-03-10 13:18:07\u0022,lastTimeSeen:\u00222020-03-10 13:18:09\u0022,power:\u0022-63\u0022,packets:\u002214\u0022,BSSID:\u00227A:8A:20:06:4D:6B\u0022,probedESSIDs:\u0022CS Guest\u0022}, \r\n{mac:\u0022E4:2B:34:17:E3:E4\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:14\u0022,power:\u0022-56\u0022,packets:\u00225\u0022,BSSID:\u00227A:8A:20:06:4D:6B\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022},\r\n{mac:\u0022D2:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D1:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D3:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D5:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D6:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D7:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D8:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D9:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DA:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DB:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DC:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022DF:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:3B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:1B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:2B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:4B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:5B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:6B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:7B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:8B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:9B:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:AB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:BB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:CB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:DB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:EB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022D4:FB:04:6A:A2:7F\u0022,firstTimeSeen:\u00222020-03-10 13:19:13\u0022,lastTimeSeen:\u00222020-03-10 13:19:13\u0022,power:\u0022-53\u0022,packets:\u00225\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}, \r\n{mac:\u0022E4:A4:71:D8:DF:DD\u0022,firstTimeSeen:\u00222020-03-10 13:19:17\u0022,lastTimeSeen:\u00222020-03-10 13:19:17\u0022,power:\u0022-51\u0022,packets:\u00222\u0022,BSSID:\u0022(not associated)\u0022,probedESSIDs:\u0022\u0022}\r\n];\r\n\r\nfunction dupyCheck(array){\r\n array.forEach(messageObject =\u003E {\r\n if (!trackin[messageObject.mac]) {\r\n \r\n trackin[messageObject.mac] = messageObject;\r\n }\r\n });\r\n}\r\ndupyCheck(messageArray);","IsDeferred":false}]}