Message from JavaScript discussions

December 2018

— But you could, with some wrapping

— 

const flatMapP = (f, arr) =>
Pomise.all(
arr.map(f))
.then(res =>
res.reduce((a, b) =>
a.concat(b), []));

— 

flatMapP(
async val => [ 'elfo' ],
arr);

— Thanks, i did a bit sepration, now and have to force the async flatmapping, its cleaner that way

— Noice

— I've cut it from "JS Party" podcast🤤 lucky name collision

— LOL

— Dont reinvent the whee!

— Hey, I'm trying to decunstructure H = {h: 123, s: 123, v: 123} into h, s, v, but can't get it right.

Message permanent page

— const { h, s, v } = H;

— Wait uhhh, let?

— But they are already created above?