Recently, while I was pairing with Federico, he wrote some code like this:
const [, personalInfo] = userData;
And my reaction was: "You have a rogue comma there!" But no… he left it on purpose!
userData is an array.
And Federico was trying to get the second element of the array.
I would have suggested using an underscore instead, as this is what I'm familiar with from Elixir, for example:
const [_, personalInfo] = userData;
const [,,three,,five] = [1,2,3,4,5];