Leon Pahole

<< javascript

Javascript object destructuring for readable functions

8 minJavaScript

Written by Leon Pahole

Connect with me:

In my opinion, a function (or a method) in any programming language should be clearly understandable just by its header - name and parameters. In Javascript, we sometimes create functions that accept objects, which can be more convenient, but this sacrifices readability of the function header. In this blog post I present ES6 object destructuring as a solution to this problem.

Read full blog post >>