Accessing object properties.
const obj = { a: 1, b: 2, c: 3, d: 4, e: 5 };
Initializing...
const { a, b, c, d, e } = obj;
const a = obj.a, b = obj.b, c = obj.c, d = obj.d, e = obj.e;
You can edit these tests or add more tests to this page by appending /edit to the URL.