Skip to content

Instantly share code, notes, and snippets.

@brunosabot
Created March 30, 2022 16:43
const frenchFlagColors = { blue: "#00F", white: "#FFF", red: "#F00" };
const { blue, white, red } = frenchFlagColors;
console.log(blue); // #00F
console.log(white); // #FFF
console.log(red); // #F00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment