{"ScriptPreparationCode":"function makeid(length) {\r\n var result = \u0027\u0027;\r\n var characters = \u0027ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\u0027;\r\n var charactersLength = characters.length;\r\n for ( var i = 0; i \u003C length; i\u002B\u002B ) {\r\n result \u002B= characters.charAt(Math.floor(Math.random() * charactersLength));\r\n }\r\n return result;\r\n}\r\n\r\nvar dataArr = [];\r\nvar dataObj = [];\r\n\r\nfor (var i = 0; i \u003C 80000; i\u002B\u002B) {\r\n\tvar data = { id: i, displayName: makeid(5) };\r\n \tdataArr.push(data);\r\n \tdataObj[i] = data;\r\n}\r\n\r\nvar toDisplay = [];\r\n\r\nfor (var i = 79000; i \u003C 80000; i\u002B\u002B) {\r\n\ttoDisplay.push(i)\r\n}\r\n\r\nvar toDisplaySet = new Set(toDisplay);\r\n","TestCases":[{"Name":"prepare test","Code":"[...toDisplaySet].map(record =\u003E dataArr.find(e =\u003E e.id === record));","IsDeferred":false},{"Name":"object","Code":"[...toDisplaySet].map(record =\u003E dataObj[record]);","IsDeferred":false},{"Name":"array find","Code":"[...toDisplaySet].map(record =\u003E dataArr.find(e =\u003E e.id === record));","IsDeferred":false}]}