Message from JavaScript discussions

July 2018

— Depending on how iteration code is written it doesn’t always behave as expected

— 

So some code may iterate over indexed properties only, while others iterate over those and non-indexed properties

— Yes

— Install typescript and suffer)

— I almost finished sequence parser, most advanced thing.. will throw link later.. you will feel the power of week types🤤

Message permanent page

— Object.keys based iteration vs a for...of loop would differ

— My search iterators use Object.keys since that gets both

— I defined some object with parsers/options, then defined array of explicity ordered keys of that object and then merged that into the map for iteration. more duplicated code, but who cares)

Message permanent page

— Not optimized for speed, optimized for editing..

— Hello all

— Oh no 🤦‍♂

— What happened?