5 ms·
That syntax of JS bugs me the most. The “in” keyword could be scrapped and have a .keys() on the object but alas back-compat. Mnemonic: of = objects fail, in =
by quickthrower2 5y ago
That syntax of JS bugs me the most. The “in” keyword could be scrapped and have a .keys() on the object but alas back-compat.
Mnemonic: of = objects fail, in = index names
Yeah yeah objects can be arrays and iterable but you know what I mean. Best I could do! If you dont like just use the “in” mnemonic and Sherlock Holmes.