{"ScriptPreparationCode":"var data = Array(1000).fill().map(function(_, id) {\r\n return ({\r\n id: id,\r\n name: id \u002B \u0027_name\u0027,\r\n })\r\n});\r\nvar data2 = Array(1000).fill().map(function(_, id) {\r\n return ({\r\n id: id,\r\n name: id \u002B \u0027_name\u0027,\r\n })\r\n});","TestCases":[{"Name":"single find","Code":"var found = data.find(function(item) {\r\n return item.id === 500\r\n});\r\nvar result = {\r\n id: found.id,\r\n name: found.name,\r\n};","IsDeferred":false},{"Name":"double same find","Code":"var result = {\r\n id: data.find(function(item) {\r\n return item.id === 500\r\n }).id,\r\n name: data.find(function(item) {\r\n return item.id === 500\r\n }).name,\r\n};","IsDeferred":false},{"Name":"double different find","Code":"var result = {\r\n id: data.find(function(item) {\r\n return item.id === 500\r\n }).id,\r\n name: data2.find(function(item) {\r\n return item.id === 500\r\n }).name,\r\n};","IsDeferred":false}]}