Objects map string (or symbol) keys to values. Bracket access allows dynamic keys; shorthand and computed keys keep construction terse.
const key = "chainId";
const net = { name: "Base", [key]: 8453 };
console.log(net[key]); // 8453Property order is insertion order for string keys, except integer-like keys, which come first in ascending order.