{"ScriptPreparationCode":"var firstEqual = [];\r\nvar secondEqual = [];\r\n\r\nfunction randomAddress() {\r\n const randomBytes = new Uint8Array(20);\r\n window.crypto.getRandomValues(randomBytes);\r\n\r\n const hexString = Array.from(randomBytes)\r\n .map(byte =\u003E byte.toString(16).padStart(2, \u00270\u0027))\r\n .join(\u0027\u0027);\r\n \r\n return \u00270x\u0027 \u002B hexString;\r\n}\r\n\r\nfor (var i=0; i\u003C=500; i\u002B\u002B) {\r\n const address = randomAddress();\r\n \r\n firstEqual.push(address);\r\n secondEqual.push(address);\r\n}\r\n\r\nvar arrayToDedup = [...firstEqual, ...secondEqual];","TestCases":[{"Name":"Lodash Uniq","Code":"_.uniq(arrayToDedup);","IsDeferred":false},{"Name":"Javascript Set","Code":"[...new Set(arrayToDedup)]","IsDeferred":false},{"Name":"Ramda Uniq","Code":"R.uniq(arrayToDedup);","IsDeferred":false}]}