inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Display “pure” iterables as arrays?

Open mbostock opened this issue 7 years ago • 0 comments

If a value is iterable (implements [Symbol.iterator] method), and the resulting iterator is a different object than the value (so as to avoid mutating common map and Set iterators that return this), we should display it in the inspector like an array.

mbostock avatar May 21 '18 18:05 mbostock