News for hackers. Stuff that matters.
Re:Sparse Array Destructuring in JavaScript by gregors on Wednesday November 16, 2022 @11:19PM (#33634914)
I'd at least place an underscore as is common in other languages

let [one, _, three, _, five] = nums

edit: I guess you can't do that in JS, so

let [one, _two, three, _four, five] = nums

There are no comments on this comment yet.