I love those three little dots in JavaScript. Mat Marquis has a nice article covering them (“destructuring” as it were) nicely. And agreed there are plenty of times they can be confusing. What always gets me is that sometimes it is used to “pluck off” the remaining the values from an array or object (which is “rest”), and sometimes it’s used to “splat on” all the values from an array or object (which is “spread”).
Featured
How to Control Infinite CSS Animations (Part 1 of 2)
Something like manipulating the speed of an animation isn’t a big deal, but it’s harder when the animation is *already running*. We got tricks.