TTotal up the instances of items in an array.
31/01/2019 — 1 Min Read — In JavaScript, ES6
✂️Front-end development snippets & tips ✂️ JavaScript, CSS, HTML tips & tricks
CSS TIP: Mac Dark Mode media queries (currently in Safari Tech Preview)
ES6 TIP: Often forgotten Use tagged template literals to run a template string through a function.
ES6 TIP: Create utility functions by using static methods, used without instantiating their class.
Template literals can be great for creating markup