Message from JavaScript discussions

November 2020

— Show current code


Ok, flags contain a lot of properties and I need to create a object from flags objects which filter only some properties like platform or installer

— Looks fine

— You can implement a pick() function quite easily

— Yeah, but I need to put all that into a new object

— I'm trying but I can't see a sol

— This is the interface which I create

— 14

— What's the type you want the output to have?

— The interface

— Yes

— This is the ugly way