convert the following 2 d array into 1 d array in javascript

Solutions on MaxInterview for convert the following 2 d array into 1 d array in javascript by the best coders in the world