{"ScriptPreparationCode":"data_array = [];\r\ndata_object = {};\r\n\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B){\r\n const data = {\r\n idx: i,\r\n key: i % 3,\r\n text: i \u002B\u0027text\u0027\r\n }\r\n \r\n data_array.push(data);\r\n data_object[i] = data;\r\n}\r\n\r\nfind_index = 5;","TestCases":[{"Name":"array find","Code":"const data = data_array.find((row) =\u003E {\r\n return row.idx === find_index\r\n});","IsDeferred":false},{"Name":"object find","Code":"const data = data_object[find_index];","IsDeferred":false},{"Name":"array filter","Code":"const data = data_array.filter((row) =\u003E {\r\n return row.key === 2\r\n});","IsDeferred":false},{"Name":"object filter","Code":"const data = Object.keys(data_object).filter((key) =\u003E {\r\n return data_object[key].key === 2\r\n});","IsDeferred":false}]}