Checking for a numerical index in a javascript array [closed]
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I'm receiving json data that is aggregated by numerical indexes. When I'm in my forloop, for example, the index might start at 1, which means in my forloop an error would occur because 0 doesnt exist. How do I