// In JavaScript ES6, you can use a shorthand property syntax to initialize your
// objects more concisely, like following object initialization:
const name = 'Robin';
const user = {
name: name,
};
// When the property name in your object is the same as your variable name,
// you can do the following:
const name = 'Robin';
const user = {
name,
};