how to repeat an array of objects n times in javascript

Solutions on MaxInterview for how to repeat an array of objects n times in javascript by the best coders in the world