{"ScriptPreparationCode":"var lodash = _.noConflict();\r\nvar underscore = _.noConflict();\r\nvar array = [...Array(100000).keys()];\r\nvar key = 90000;","TestCases":[{"Name":"Array.Prototype.find","Code":"const value = array.find(x =\u003E x === key);","IsDeferred":false},{"Name":"Array.Prototype.findIndex","Code":"const idx = array.findIndex(x =\u003E x === key);\r\nconst value = array[idx]","IsDeferred":false},{"Name":"For loop","Code":"let value;\r\n\r\nfor (let i = 0; i \u003C array.length; i\u002B\u002B) {\r\n if (array[i] === key) {\r\n \tvalue = array[i];\r\n \tbreak;\r\n }\r\n}","IsDeferred":false},{"Name":"LoDash","Code":"const value = lodash.find(array, x =\u003E x === key);","IsDeferred":false},{"Name":"Underscore","Code":"const value = underscore.find(array, x =\u003E x === key);","IsDeferred":false}]}