You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What to do about the names of the destructured results, like a and b here? When we're dealing with object destructuring, the names are ones that you provide, but here they aren't sensical, since arrays only have indexes. My first guess is to simply discard them.
The text was updated successfully, but these errors were encountered:
Documenting the elements of a destructured array argument
Should result in something like
I think. It does not appear that JSDoc supports this style.
Questions:
a
andb
here? When we're dealing with object destructuring, the names are ones that you provide, but here they aren't sensical, since arrays only have indexes. My first guess is to simply discard them.The text was updated successfully, but these errors were encountered: