{"ScriptPreparationCode":"var arrays = Array.from({ length: 1000 }).map(() =\u003E new Array((Math.random() * 1000 | 0)).fill(0));\r\n\r\nfunction bitwiseMin(x, y) {\r\n return y ^ ((x ^ y) \u0026 -(x \u003C y));\r\n}","TestCases":[{"Name":"Math.min with spread and map","Code":"var smallest = Math.min(...arrays.map(arr =\u003E arr.length));","IsDeferred":false},{"Name":"For loop with bitwise min","Code":"var smallest = arrays[0].length;\r\nfor (var i = 1; i \u003C arrays.length; i\u002B\u002B) {\r\n smallest = bitwiseMin(smallest, arrays[i].length)\r\n}","IsDeferred":false}]}