Closed hartez closed 10 years ago
When data["@odata.count"] is undefined, the comparison (data["@odata.count"] !== null) returns 'true' and the fall through to the other cases in the ternary doesn't happen.
data["@odata.count"]
(data["@odata.count"] !== null)
When
data["@odata.count"]
is undefined, the comparison(data["@odata.count"] !== null)
returns 'true' and the fall through to the other cases in the ternary doesn't happen.