One interesting feature in Golang is the use of the _
(Blank Identifier).
myValue, _, _ := myFunction()
This allows you to ignore the 2nd and 3rd return values of a function.
Can this same concept be applied in JavaScript?
function myFunction() {
return [1,2,3]
}
// Something similar to this
const [first, _, _] = myFunction()