Added displaying all elements in a sparse array (#536)
Added displaying all elements in a sparse array (#536)

* Added displaying all elements in a sparse array

* Ensured that react-dev-tools will display condensed sparse arrays in inspector

* Removed :undefined when displaying a spare array empty element

* Fixed flow check errors

* Refactoring after gaearon's code review

* Fixed eslint violations

* Inline the logic into DataView

It seemed like there's too many special cases because of one tiny edge case.

* Refactor to avoid extra traversals and allocations

aarondancer/react-devtools,aarondancer/react-devtools,aarondancer/react-devtools