Categories
Research Web Development

Enumerability in JavaScript, or “why some properties are dimmed in a console.log”

I’d seen dimmed properties before, and I always thought of them as the properties that are there by default, or ones I’m not supposed to manipulate. It turns out that’s pretty much correct. The technical term for that is that dimmed properties are non-enumerable vs. enumerable properties.