and poof there goes your type safety. Optional typing (flow and TS) is making inroads into JS. If you want to bet on them (or any other JS inspecting tools), make sure you use this:
Absolutely! If enough people do this, the tooling might eventually adapt.
However, it's the kind of bet I wouldn't go long on. Today, TS automatically (and correctly) infers the type of objs.map(x => x.foo). I suppose the same holds true for flow. This is not hypothetical; try this in http://www.typescriptlang.org/Playground
https://web.archive.org/web/20140714014530/http://hughfdjack...
Ramdajs: http://ramdajs.com/0.16/index.html