Hi! Im ZanderStylised (pixellated) picture of Zander, I make web things

Code Notes

Destructuring

const exampleObject = { a: { b: 'hi' } }

// Want to get both `a` and `b` as variables?
// You totally can do this in one line of destructuring.
const {
  a,
  a: { b },
} = exampleObject