๐for-in
loop over "keys"
JSโฉ syntax โฉ for loops โฉ for-in
iterates over all (own/inherited) enumerable string properties of an object (ignoring properties keyed by symbols).
can be used with for-in / for-of loop.
can't be used with a classic for-loop.
๐ no const for classic "for"โ
โญ๏ธ ๆณจๆ๏ผ for...in
, for...of
ๆ "(...)
" ๆฌ่โ๏ธ
๐ Property flags and descriptors - โflags-awareโ clone
Last updated