1
making a variable a key in an object, very useful if you want to make dynamic values keys
let myVar = "dynamicKey";
let myObj = { [myVar ] : value }
making a variable a key in an object, very useful if you want to make dynamic values keys
let myVar = "dynamicKey";
let myObj = { [myVar ] : value }