Follow

Whoever came up with both 'of' and 'in' operators in ES6 should...

Spend an eternity using them and being constantly confused about which one returns index array and which returns value.

Sign in to participate in the conversation
Mastodon

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.