Type of issue
Idea
Description (include any screenshots or debugging information if applicable)
ES6 Dynamic Property Names
Allows the ability to create or add properties with dynamically assigned keys:
let city= 'leicester_';
let a = {
[ city + 'population' ]: 500000
};
a[ city + 'county' ] = 'Leicestershire';
console.log(a); // {leicester_population: 350000, leicester_county: 'Leicestershire' }