how to prepare key in object dyamically javascript

Solutions on MaxInterview for how to prepare key in object dyamically javascript by the best coders in the world