๐ฐproperty enumeration
enumerate through properties of an object.
| โ ๏ผstring / symbol | ๐ค๏ผString | ๐บ๏ผSymbol
method/operator
own enum
own nonenum
inherited enum
inherited nonenum
โ
โ
๐ค
๐ค
๐ค
๐บ
๐บ
โ
โ
โ
โ
โ
โ
๐ค
๐ค
๐ค
๐ค
๐ MSN
Every property in JavaScript objects can be classified by 3 factors:
enumerable / non-enumerable
own / inherited (from the prototype chain)
๐ MSN
a property will not be enumerated if
a property by that same name has already been enumerated
a non-enumerable property by that same name has already been considered
Last updated