How to create an object with dynamic keys in JavaScript

How to create an object with dynamic keys in JavaScript