Js Map Array Into Objective Definition Example Pattern