Destructuring Assignment In A Function Parameter
Have you ever passed an argument as a null or undefined in a function? Since ES2015 (aka ES6) you don’t have to. You can use JavaScript destructuring.
Use Case
We all have this Utils.js file in our projects where we have all kinds of functions that w...
blog.eligarlo.dev4 min read