{"ScriptPreparationCode":"var testObj = [];\r\nlet numberObj = 99999;\r\nfor (let i = 0; i \u003C numberObj; i\u002B\u002B) {\r\n const obj = {\r\n hardwareVersion: \u0060samr${Math.floor(Math.random() * 10)}-Valve${Math.floor(\r\n Math.random() * 3\r\n )}\u0060,\r\n macAdress: \u0022XX:XX:XX:XX:XX:XX\u0022.replace(/X/g, function() {\r\n return \u00220123456789ABCDEF\u0022.charAt(Math.floor(Math.random() * 3));\r\n }),\r\n };\r\n\r\n testObj[i] = obj;\r\n}","TestCases":[{"Name":"native JS","Code":"[...new Set(testObj.map((e) =\u003E e.macAdress))]","IsDeferred":false},{"Name":"uniqBy lodash","Code":"_.uniqBy(testObj, \u0022macAdress\u0022)","IsDeferred":false}]}