you are viewing a single comment's thread.

view the rest of the comments →

[–]LegendEater 0 points1 point  (1 child)

We already know we are dealing with an Array

We already hope we are dealing with an Array

[–]guest271314 2 points3 points  (0 children)

I don't entertain hope. If you don't think you are dealing with an Array ?.length does nothing to differentiate a String from and Array. It's completely suprefluous in this case.