Skip to content

Conversation

@TysonAndre-tmg
Copy link

  • Add function names so it's obvious where this error originates from
  • Only iterate over the responses if the response is actually an array. Ignore other types such as strings/objects
  • Stop using for (var key in array)

npm test passes in Node.js 8+ and with mocha for browser testing. GLOBAL is a deprecated then removed alias of global

- Add function names so it's obvious where this error originates from
- Only iterate over the responses if the response is actually an array.
  Ignore other types such as strings/objects
- Stop using `for (var key in array)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant