Helpful Front-end Snips ✂️
Instagram account I setup to share front-end code snippets.
✂️ ES6 TIP: Shorthand for Initialising Object
✂️ Console TIP: Tidy up your console logos by grouping relevant logs together
✂️ JavaScript TIP: Convert object to array
✂️ ES6 TIP: Use Set to dedupe and array!
✂️ ES6 TIP: Use object literal shorthand to quickly output a variable with a label in the console!
✂️ Often forgotten about in CSS: The value of the ‘currentColor’ keyword is the computed value of the ‘color’ property. 🤯
✂️ ES6 TIP: Use default params in ES6 to enforce required parameters