understandinges6 icon indicating copy to clipboard operation
understandinges6 copied to clipboard

Perhaps remind that `for…in` doesn't just use own properties?

Open tdd opened this issue 8 years ago • 0 comments

Hi Nicholas,

Location: Chapter 4 > Page 76 > "Own property enumeration order" > Note

As the entire section is about own properties, as are Object.keys() and JSON.stringify(), I was wondering whether it would be useful to remind, when comparing them to for…in, that the latter also iterates over all enumerable props, not just own props?

tdd avatar Jan 25 '17 16:01 tdd