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
It seems fairly common to see x & xs in destructuring where x is some arbitrary "thing" and xs is a sequence of such "things".
Yet the guide suggests x and y are typically numbers.
Perhaps we can refine this: x and y are likely to be numbers when both are present, such as [x y] when a coordinate system is implied, but x standing alone tends to mean a arbitrary thing in a lot of cases, and especially when used with xs.
I don't have a specific suggestion to improve the wording but wanted to bounce this off the editorial team to see if we can come up with something better here?
The text was updated successfully, but these errors were encountered:
It seems fairly common to see
x & xs
in destructuring wherex
is some arbitrary "thing" andxs
is a sequence of such "things".Yet the guide suggests
x
andy
are typically numbers.Perhaps we can refine this:
x
andy
are likely to be numbers when both are present, such as[x y]
when a coordinate system is implied, butx
standing alone tends to mean a arbitrary thing in a lot of cases, and especially when used withxs
.I don't have a specific suggestion to improve the wording but wanted to bounce this off the editorial team to see if we can come up with something better here?
The text was updated successfully, but these errors were encountered: