{"ScriptPreparationCode":"var n3 = 1000;\r\nvar n4 = 10000;\r\nvar n5 = 100000;\r\nvar n6 = 1000000;\r\nvar n7 = 10000000;\r\nvar find3 = 990;\r\nvar find4 = 9900;\r\nvar find5 = 55990;\r\nvar find6 = 789990;\r\nvar find7 = 2000990;\r\nvar array3 = [];\r\nvar array4 = [];\r\nvar array5 = [];\r\nvar array6 = [];\r\nvar array7 = [];\r\nfor(let i = 0; i \u003C n3; i\u002B\u002B) {\r\n array3.push(i); \r\n}\r\nfor(let i = 0; i \u003C n4; i\u002B\u002B) {\r\n array4.push(i); \r\n}\r\nfor(let i = 0; i \u003C n5; i\u002B\u002B) {\r\n array5.push(i); \r\n}\r\nfor(let i = 0; i \u003C n6; i\u002B\u002B) {\r\n array6.push(i); \r\n}\r\nfor(let i = 0; i \u003C n7; i\u002B\u002B) {\r\n array7.push(i); \r\n}\r\n \r\nfunction findIndexLodash(arr, element) { \r\n _.findIndex(arr, function(el) { return el === element; });\r\n}\r\n\r\nfunction findIndexTS(arr, element) { \r\n arr.findIndex((el) =\u003E { return el === element; });\r\n}","TestCases":[{"Name":"find index lodash n = 1000","Code":"findIndexLodash(array3, find3);","IsDeferred":false},{"Name":"find index lodash n = 10000","Code":"findIndexLodash(array4, find4);","IsDeferred":false},{"Name":"find index lodash n = 100000","Code":"findIndexLodash(array5, find5);","IsDeferred":false},{"Name":"find index lodash n = 1000000","Code":"findIndexLodash(array6, find6);","IsDeferred":false},{"Name":"find index lodash n = 10000000","Code":"findIndexLodash(array7, find7);","IsDeferred":false},{"Name":"find index js n = 1000","Code":"findIndexTS(array3, find3);","IsDeferred":false},{"Name":"find index js n = 10000","Code":"findIndexTS(array4, find4);","IsDeferred":false},{"Name":"find index js n = 100000","Code":"findIndexTS(array5, find5);","IsDeferred":false},{"Name":"find index js n = 1000000","Code":"findIndexTS(array6, find6);","IsDeferred":false},{"Name":"find index js n = 10000000","Code":"findIndexTS(array7, find7);","IsDeferred":false}]}