Create Object Key Dynamically Javascript Interview Coding