JSFiddle - React, Tailwind, and code Playground

JavaScript

// "getTheSecondLargestArray()" is just a dummy function to illustrate what I want.
// For example, with this function we can get an array with the second largest length:

print(getTheSecondLargestArray(arr_a, arr_b, arr_c, arr_d));