Skip to content

util: correctly inspect Map/Set Iterators#3119

Merged
evanlucas merged 2 commits intonodejs:masterfrom
evanlucas:iterators
Oct 6, 2015
Merged

util: correctly inspect Map/Set Iterators#3119
evanlucas merged 2 commits intonodejs:masterfrom
evanlucas:iterators

Conversation

@evanlucas
Copy link
Contributor

Currently, inspecting new Map().keys() or other iterators will return an empty object.

I am opening more for discussion of how we want (if at all) to address not being able to inspect map and set iterators. I first had first attempting using Debug.MakeMirror but the performance of doing it this way was about 10x better.

Related: #3107

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants